Class GeneSequence2SingleGene

  • All Implemented Interfaces:
    cc.mallet.types.AlphabetCarrying, Serializable

    public class GeneSequence2SingleGene
    extends cc.mallet.pipe.Pipe
    For non-sequence filtering, we will have a single gene per GeneSet in the GeneDocument passed to GeneSet2GeneSequence which should be the very first pipe to be employed in each pipe sequence. In this case, we do still create TokenSequences but they will always just have a single element. This pipe transfers this representation into a single token without the sequence.
    Author:
    faessler
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      cc.mallet.types.Instance pipe​(cc.mallet.types.Instance inst)  
      • Methods inherited from class cc.mallet.pipe.Pipe

        alphabetsMatch, getAlphabet, getAlphabets, getDataAlphabet, getInstanceId, getTargetAlphabet, instanceFrom, instancesFrom, instancesFrom, isDataAlphabetSet, isTargetProcessing, newIteratorFrom, preceedingPipeDataAlphabetNotification, preceedingPipeTargetAlphabetNotification, precondition, readResolve, setDataAlphabet, setOrCheckDataAlphabet, setOrCheckTargetAlphabet, setTargetAlphabet, setTargetProcessing
    • Constructor Detail

      • GeneSequence2SingleGene

        public GeneSequence2SingleGene()
    • Method Detail

      • pipe

        public cc.mallet.types.Instance pipe​(cc.mallet.types.Instance inst)
        Overrides:
        pipe in class cc.mallet.pipe.Pipe