0
$\begingroup$

I am trying to implement Nvidia-parabrick fq2bam pipeline to process my WES dataset. The reason for opting this pipeline is the huge number of samples (1004) which take many months to process for somatic mutation identification. THe GPU accelerated pipeline will be more helpful to get somatic mutations in a quick manner. After pulling parabrick docker image from here, the following command works fine and return the options :

docker run -it nvcr.io/hpc/parabricks:v2.5.0 -h

But whenever I give the following command to run fq2bam pipeline, I am getting an error of No such file or directory:

docker run -it nvcr.io/hpc/parabricks:v2.5.0 fq2bam --ref ucsc.hg19.fasta --in-fq sample_1.fastq.gz sample_2.fastq.gz --knownSites 1000G_phase1.indels.hg19.sites.vcf.gz --out-bam sample_dups_gpu.bam out-recal-file sample_recal_gpu.txt --tmp-dir /tmp

The error is as follows:

Traceback (most recent call last):
File "/parabricks/run_pipeline.py", line 7, in <module>
sys.exit(PB.pb_main())
File "PB.pyx", line 846, in PB.pb_main
File "/parabricks/pbargs.py", line 1287, in getArgs
return PBRun(sys.argv)
File "/parabricks/pbargs.py", line 392, in __init__
self.runArgs = getattr(self, args.command)(argList)
File "/parabricks/pbargs.py", line 447, in fq2bam
self.addToParser(bsmb_parser_sysgroup, sysOptionGenerator().allOptions)
File "/parabricks/pbargs.py", line 50, in __init__
PBOption(category="sysOption", name="--num-gpus", default=GetNumGPUs(), typeName=int, helpStr="Number of GPUs to use for a run")
File "/parabricks/pbutils.py", line 48, in GetNumGPUs
output = subprocess.check_output(["nvidia-smi", "-L"], universal_newlines=True)
File "/usr/lib/python2.7/subprocess.py", line 567, in check_output
process = Popen(stdout=PIPE, *popenargs, **kwargs)
File "/usr/lib/python2.7/subprocess.py", line 711, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1343, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory

As I am using the docker image as it is,it is not clear to me which file is missing. Kindly suggest. Thanks.

$\endgroup$
2
  • $\begingroup$ Just a tip - if you edit your title to make it more informative (e.g. Nvidia Parabrick error - No such file or directory) it helps people answer the questoin and also helps other people who have the same error. $\endgroup$
    – user438383
    Dec 28, 2020 at 12:35
  • 1
    $\begingroup$ Thanks. I have approved the edit in question title to make it more informative. $\endgroup$ Dec 30, 2020 at 5:47

1 Answer 1

1
$\begingroup$

My query was answered by NVIDIA Parabrick developer team. The installation instruction are available at https://forums.developer.nvidia.com/uploads/short-url/t5uXsZgdMXx0G2wDcYamFl9sO2x.pdf.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.