tseemann / abricate

:mag_right: :pill: Mass screening of contigs for antimicrobial and virulence genes
GNU General Public License v2.0
353 stars 87 forks source link

troubles with updating ncbi database - Can't read TSV file #186

Open elina2410 opened 2 years ago

elina2410 commented 2 years ago

Hello I try to update the ncbi database in abricate using :

abricate-get_db --db ncbi --force

but there is a one error that still appears like 'Can't read TSV file' On the other hand, I managed to update the resfinder database for example. Can anyone help?

> (abricate) xxxxx@xxxx:~/miniconda3$ abricate-get_db --db ncbi --force
> Setting up 'ncbi' in '/home/ekaminska/miniconda3/envs/abricate/db/ncbi'
> Downloading: https://ftp.ncbi.nlm.nih.gov/pathogen/Antimicrobial_resistance/AMRFinderPlus/database/latest/AMR_CDS
> HTTP Result: 501
> Destination: amr_cds.ffn
> Filesize:  bytes
> Downloading: https://ftp.ncbi.nlm.nih.gov/pathogen/Antimicrobial_resistance/AMRFinderPlus/database/latest/ReferenceGeneCatalog.txt
> HTTP Result: 501
> Destination: amr_cds.tsv
> Filesize:  bytes
> ERROR: Can't read TSV file: amr_cds.tsv
AhmedElsherbini commented 1 year ago

The same here, did you get any solution !

elina2410 commented 1 year ago

Try this:

conda install perl-lwp-protocol-https

and downgrade to 1.0.0 version

AhmedElsherbini commented 1 year ago

Thank you, your solution seems to work with me :)