Class FastaGeneWriter
- java.lang.Object
-
- org.biojava.nbio.core.sequence.io.FastaGeneWriter
-
public class FastaGeneWriter extends Object
A Gene sequence has a Positive or Negative Strand where we want to write out to a stream the 5 to 3 prime version. It is also an option to write out the gene sequence where the exon regions are upper case 6/22/2010 FastaWriter needs to be sequence aware to handle writing out a GeneSequence which is negative Strand with the proper sequence- Author:
- Scooter Willis
-
-
Constructor Summary
Constructors Constructor Description FastaGeneWriter(OutputStream os, Collection<GeneSequence> sequences, FastaHeaderFormatInterface<GeneSequence,NucleotideCompound> headerFormat, boolean showExonUppercase)FastaGeneWriter(OutputStream os, Collection<GeneSequence> sequences, FastaHeaderFormatInterface<GeneSequence,NucleotideCompound> headerFormat, boolean showExonUppercase, int lineLength)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetLineLength()static voidmain(String[] args)voidprocess()voidsetLineLength(int lineLength)
-
-
-
Constructor Detail
-
FastaGeneWriter
public FastaGeneWriter(OutputStream os, Collection<GeneSequence> sequences, FastaHeaderFormatInterface<GeneSequence,NucleotideCompound> headerFormat, boolean showExonUppercase)
- Parameters:
os-sequences-headerFormat-showExonUppercase-
-
FastaGeneWriter
public FastaGeneWriter(OutputStream os, Collection<GeneSequence> sequences, FastaHeaderFormatInterface<GeneSequence,NucleotideCompound> headerFormat, boolean showExonUppercase, int lineLength)
- Parameters:
os-sequences-headerFormat-showExonUppercase-lineLength-
-
-