abricate icon indicating copy to clipboard operation
abricate copied to clipboard

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

Open elina2410 opened this issue 2 years ago • 3 comments

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

elina2410 avatar Jun 30 '22 10:06 elina2410

The same here, did you get any solution !

AhmedElsherbini avatar Jul 25 '22 19:07 AhmedElsherbini

Try this:

conda install perl-lwp-protocol-https

and downgrade to 1.0.0 version

elina2410 avatar Jul 26 '22 06:07 elina2410

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

AhmedElsherbini avatar Jul 26 '22 15:07 AhmedElsherbini