Skip to content
Snippets Groups Projects
Commit 23b7d60d authored by tcarver's avatar tcarver
Browse files

provide option to concatenate sequences or use FASTA index

parent 74cb3e25
No related branches found
No related tags found
No related merge requests found
......@@ -70,7 +70,11 @@ abstract public class StreamSequenceFactory
case FASTA_FORMAT:
{
if(IndexFastaStream.isIndexed(entry))
return new IndexFastaStream(entry);
{
IndexFastaStream ifs = new IndexFastaStream(entry);
if(ifs.useIndex())
return ifs;
}
return new FastaStreamSequence(in_stream);
}
case GENBANK_FORMAT:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment