Unknown argument '--ngc'
1
0
Entering edit mode
3.2 years ago

Hey guys, I'm trying to download dbGap data from a cart file and I keep getting this error message, what could be a solution to it? Thanks!

/mnt/c/bio/sratoolkit.2.10.9-ubuntu64/bin$ prefetch --ngc /mnt/c/bio/prj_26363.ngc /mnt/c/bio/cart_DAR99004_202101251434.krt

2021-01-26T14:45:41 prefetch.2.8.2 err: libs/kapp/args.c:1262:ArgsParseInt: param unknown while parsing argument list within application support module - Unknown argument '--ngc'
2021-01-26T14:45:41 prefetch.2.8.2 int: libs/kapp/args.c:1262:ArgsParseInt: param unknown while parsing argument list within application support module - ArgsMakeAndHandle
software error SRA prefetch ngc • 1.5k views
ADD COMMENT
1
Entering edit mode
3.2 years ago
ATpoint 82k

Could be a newer option, is your sratools version up-to-date?

ADD COMMENT
0
Entering edit mode

I'm using the latest version

ADD REPLY
1
Entering edit mode

No you arent't. You are in a folder with version 2.10.9 but the message says 2.8.2. If there is a binary you want to use in that bin folder do ./prefetch. Currently you are calling a binary that is somewhere in $PATH.

From being in the folder do ./prefetch --ngc /mnt/c/bio/prj_26363.ngc /mnt/c/bio/cart_DAR99004_202101251434.krt

ADD REPLY
0
Entering edit mode

Oh right It worked! Thanks!

ADD REPLY

Login before adding your answer.

Traffic: 3923 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6