Permalink
Browse files

Remove a TODO and enable a commented out assertion.

ClustalOmega does not convert ":" to "_" in fasta IDs.
  • Loading branch information...
1 parent 394f643 commit 6a88fc78b233c4f4eb1db81b8618cd0549925e75 @cbrueffer cbrueffer committed with peterjc Nov 21, 2012
Showing with 2 additions and 5 deletions.
  1. +2 −5 Tests/test_ClustalOmega_tool.py
View
7 Tests/test_ClustalOmega_tool.py
@@ -149,11 +149,8 @@
output_records = SeqIO.to_dict(SeqIO.parse(output_file,"clustal"))
assert len(set(input_records.keys())) == len(set(output_records.keys())), \
"%r vs %r" %(sorted(input_records.keys()), sorted(output_records.keys()))
- #TODO - Investigate Clustal Omega underscore/semi-colon mapping
- #for record in align:
- # assert str(record.seq) == str(output_records[record.id].seq)
- # assert str(record.seq).replace("-","") == \
- # str(input_records[record.id].seq)
+ for record in align:
+ assert str(record.seq) == str(output_records[record.id].seq)
#Clean up...
os.remove(output_file)

0 comments on commit 6a88fc7

Please sign in to comment.