BinPro / CONCOCT

Clustering cONtigs with COverage and ComposiTion
Other
122 stars 48 forks source link

extract_fasta_bins with numeric contig IDs #281

Open linsalrob opened 4 years ago

linsalrob commented 4 years ago

extract_fasta_bins.py uses pandas read_csv that automatically converts numeric IDs to strings. If you have a lot of contigs from different assemblies, it is more convenient to renumber them with numeric IDs, and this will cause extract_fasta_bins.py to fail with a KeyError as the sequence IDs are strings at one point and integers at another, and so the IDs can not be found.