public static LinkedHashMap < String , DNASequence > readFastaDNASequence ( InputStream inStream ) throws IOException { FastaReader < DNASequence , NucleotideCompound > fastaReader = new FastaReader < DNASequence , NucleotideCompound > ( inStream , new GenericFastaHeaderParser < DNASequence , NucleotideCompound > ( ) , new DNASequenceCreator ( DNACompoundSet . getDNACompoundSet ( ) ) ) ; return fastaReader . process ( ) ; }
Read a fasta DNA sequence