ncbi / sra-tools

SRA Tools
Other
1.1k stars 242 forks source link

prefetch not working? #524

Closed jmwhitha closed 2 years ago

jmwhitha commented 3 years ago

Good afternoon,

My script is giving me an error when I try to transfer some data into my working directory. I think something is wrong with prefetch.

Thank you for your help in advance,

###########################SCRIPT###############################

!/bin/tcsh

BSUB -n 1

BSUB -x

BSUB -W 600

BSUB -J mycode

BSUB -o stdout.%J

BSUB -e stderr.%J

conda activate /usr/local/usrapps/metagenomics/env_sra-tools

vdb-config --restore-defaults

open the SRR folder you want

these numbers are associated with samples saved at NCBI

SRR13355283 is for a Tibetan kefir grain metagenome

prefetch SRR13355283

retrieve the fastq file and leave the rest

I is for paired-end reads

fastq-dump-orig.2.11.0 -I SRR13355283

conda deactivate /usr/local/usrapps/metagenomics/env_sra-toolkit.csh

########################SCRIPT##############################

########################RESULT#############################

2021-07-14T17:22:34 fastq-dump-orig.2.11.0 err: item not found while constructing within virtual database module - the path 'SRR13355283' cannot be opened as database or table deactivate does not accept arguments remainder_args: ['/usr/local/usrapps/metagenomics/env_sra-toolkit.csh']

########################RESULT###################################

klymenko commented 2 years ago

We already had similar issues with conda. We don't support it. Use our build.

jmwhitha commented 2 years ago

Okay thank you :)

On Thu, Sep 30, 2021 at 2:52 PM Andrew Klymenko @.***> wrote:

We already had similar issues https://github.com/ncbi/sra-tools/issues/497 with conda. We don't support it. Use our build https://trace.ncbi.nlm.nih.gov/Traces/sra/sra.cgi?view=software.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ncbi/sra-tools/issues/524#issuecomment-931578534, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEUC4TRTZJHHFOBS6NHINJ3UESWVPANCNFSM5AL6GQ3Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

klymenko commented 2 years ago

Do you need more help?

jmwhitha commented 2 years ago

No, all set. Thank you.

On Thu, Nov 4, 2021 at 1:40 PM Andrew Klymenko @.***> wrote:

Do you need more help?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ncbi/sra-tools/issues/524#issuecomment-961271819, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEUC4TQSDP5DY2I7YFDB2F3UKLHQZANCNFSM5AL6GQ3Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.