Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

centrifuge download fails #263

Open
ggonnella opened this issue Oct 30, 2023 · 2 comments
Open

centrifuge download fails #263

ggonnella opened this issue Oct 30, 2023 · 2 comments

Comments

@ggonnella
Copy link

> centrifuge-download -o viral -d 'viral' -g wget -m refseq > viral_seqid2taxid.map
Directory viral/viral exists.  Continuing
Downloading ftp://ftp.ncbi.nlm.nih.gov/genomes/refseq/viral/assembly_summary.txt ...
basename: extra operand ‘na_genomic.fna.gz’
Try 'basename --help' for more information.

Error downloading https://ftp.ncbi.nlm.nih.gov/genomes/all/GCF/000/839/185/GCF_000839185.1_ViralProj14174       na/GCF_000839185.1_ViralProj14174      na_genomic.fna.gz!
basename: extra operand ‘na_genomic.fna.gz’
Try 'basename --help' for more information.

Error downloading https://ftp.ncbi.nlm.nih.gov/genomes/all/GCF/000/857/045/GCF_000857045.1_ViralProj15142       na/GCF_000857045.1_ViralProj15142      na_genomic.fna.gz!
basename: extra operand ‘na_genomic.fna.gz’
Try 'basename --help' for more information.
...

This output is with wget, but also the default (curl) has the same kind of error.

Version:

> centrifuge --version
centrifuge-class version 1.0.4
64-bit
Built on srvlxhpc2
Mon Oct 30 10:13:54 +07 2023
Compiler: gcc version 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04) 
Options: -O3 -m64 -msse2 -funroll-loops -g3 -std=c++11 -DPOPCNT_CAPABILITY
Sizeof {int, long, long long, void*, size_t, off_t}: {4, 8, 8, 8, 8, 8}
@mourisl
Copy link
Collaborator

mourisl commented Nov 4, 2023

Could you please share the assembly_summary.txt in your downloaded folder created by Centrifuge?

@bash-idr
Copy link

bash-idr commented Dec 7, 2023

Hi. I have the same issue when i'm trying this command :
$ centrifuge-download -o library -m -d "viral" refseq > seqid2taxid.map

as output i've got :

Error downloading https://ftp.ncbi.nlm.nih.gov/genomes/all/GCF/029/888/005/GCF_029888005.1_ASM2988800v1
na/GCF_029888005.1_AS
assembly_summary.txt
M2988800v1 na_genomic.fna.gz!
basename: extra operand ‘na_genomic.fna.gz’
Try 'basename --help' for more information.
assembly_summary.txt

          $ centrifuge --version

centrifuge-class version 1.0.4
64-bit
Built on default-03141e47-51ec-4b49-bdf0-46eb46c89ddb
Wed Jul 4 15:01:13 UTC 2018
Compiler: gcc version 4.8.2 20140120 (Red Hat 4.8.2-15) (GCC)
Options: -O3 -m64 -msse2 -funroll-loops -g3 -std=c++11 -DPOPCNT_CAPABILITY
Sizeof {int, long, long long, void*, size_t, off_t}: {4, 8, 8, 8, 8, 8}

I upload also the assembly_summary.txt.

Any help will save my life.
Thanks!

assembly_summary.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants