Package org.forester.io.writers
Class SequenceWriter
java.lang.Object
org.forester.io.writers.SequenceWriter
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringBuilder
static StringBuilder
toFasta
(MolecularSequence seq, int width) static void
toFasta
(MolecularSequence seq, Writer w, int width) static void
writeSeqs
(List<MolecularSequence> seqs, File file, SequenceWriter.SEQ_FORMAT format, int width) static void
writeSeqs
(List<MolecularSequence> seqs, Writer writer, SequenceWriter.SEQ_FORMAT format, int width)
-
Constructor Details
-
SequenceWriter
public SequenceWriter()
-
-
Method Details
-
toFasta
-
toFasta
-
toFasta
- Throws:
IOException
-
writeSeqs
public static void writeSeqs(List<MolecularSequence> seqs, File file, SequenceWriter.SEQ_FORMAT format, int width) throws IOException - Throws:
IOException
-
writeSeqs
public static void writeSeqs(List<MolecularSequence> seqs, Writer writer, SequenceWriter.SEQ_FORMAT format, int width) throws IOException - Throws:
IOException
-