import org.forester.phylogeny.data.Identifier;
import org.forester.phylogeny.factories.ParserBasedPhylogenyFactory;
import org.forester.phylogeny.factories.PhylogenyFactory;
-import org.forester.sequence.Sequence;
+import org.forester.sequence.MolecularSequence;
import org.forester.tools.PhylogenyDecorator;
import org.forester.tools.PhylogenyDecorator.FIELD;
import org.forester.util.BasicTable;
}
private static Map<String, String> readFastaFileIntoMap( final File mapping_infile, final boolean verbose ) {
- List<Sequence> seqs = null;
+ List<MolecularSequence> seqs = null;
try {
seqs = FastaParser.parse( new FileInputStream( mapping_infile ) );
}
+ "] is devoid of fasta-formatted sequences" );
}
final Map<String, String> map = new HashMap<String, String>();
- for( final Sequence seq : seqs ) {
+ for( final MolecularSequence seq : seqs ) {
if ( ForesterUtil.isEmpty( seq.getIdentifier() ) ) {
ForesterUtil.fatalError( decorator.PRG_NAME, "fasta-file [" + mapping_infile
+ "] contains sequence with empty identifier" );