victoriapascal / gutsmash

gutSMASH
GNU Affero General Public License v3.0
52 stars 15 forks source link

invalid literal for int() with base 10: '37087-57228' #9

Open jamelee opened 1 year ago

jamelee commented 1 year ago

Hi,

I ran into an error below: gutsmash-gutsmash/antismash/modules/clusterblast/svg_builder.py", line 293, in init self.ref_cluster_number = int(ref_cluster_number.lstrip('c')) ValueError: invalid literal for int() with base 10: '37087-57228'

The command line I used is: python gutsmash-gutsmash/run_gutsmash.py --minimal --cb-knownclusters --enable-genefunctions --cb-general --genefinding-tool none GCA_008121495.1_ASM812149v1_genomic.gbk

It looks like the error was caused by the format of 'ref_cluster_number' in database file 'clusterblast/clusters.txt', which is something like 'c37087-57228', while program expects format like 'c37087'.

jamelee commented 1 year ago

I think the reson is that I downloaded 'clusterblast' database from aniSmash instead of 'https://gutsmash.bioinformatics.nl/download.html'. I'll try to download it from 'https://gutsmash.bioinformatics.nl/download.html' and ran it again.