Hello Slack community, We are trying to run deepva...
# raredisease
d
Hello Slack community, We are trying to run deepvariant within nextflow but getting an error. deep.nf file below #!/usr/bin/env nextflow nextflow.enable.dsl=2 params.data_dir = 'output/4.markDuplicate' params.reference = 'reference/Homo_sapiens_assembly38.fasta' params.bed_file = 'reference/hg38_exome.bed' params.outdir = 'output/5.snvS' params.cpus = 16 // Number of CPUs to use workflow { // Define channels for input data Channel .fromPath("${PWD}${params.data_dir}/*_sorted_md.bam") .map { file -> def sample_id = file.baseName.replace('_sorted_md', '') return [sample_id, file] } .set { read_pairs } // Process steps /// Germline variant calling deepvar(read_pairs, params.reference, params.bed_file) } process deepvar { tag "Germline Variant on ${sample_id}" publishDir "${params.outdir}/6.variantM", mode: 'copy' cpus 16 input: tuple val(sample_id), path(read_files) val(params.reference) val(params.bed_file) output: tuple val(sample_id), path("${sample_id}_raw.vcf.gz"), path("${sample_id}_raw.gvcf.gz"), emit: raw_vcfs script: """ sudo docker run \ -v "${PWD}":"${PWD}" \ google/deepvariant:1.6.1 \ /opt/deepvariant/bin/run_deepvariant \ --model_type WES \ --ref ${PWD}/${params.reference} \ --reads ${PWD}/output/4.markDuplicate/${sample_id}_sorted_md.bam \ --regions ${PWD}/${params.bed_file} \ --output_vcf ${PWD}/${params.outdir}/${sample_id}_raw.vcf.gz \ --output_gvcf ${PWD}/${sample_id}_raw.gvcf.gz \ --num_shards ${task.cpus} --intermediate_results_dir ${PWD}/tmp > deepvariant_log.txt 2>&1 """ } ############# Error ################### N E X T F L O W ~ version 24.04.4 Launching
<http://dip.nf|dip.nf>
[deadly_pike] DSL2 - revision: e075b1fba0 executor > local (2) [a6/9c6b79] process > deepvar (Germline Variant on SRR26512959) [ 0%] 0 of 2 ERROR ~ Error executing process > 'deepvar (Germline Variant on SRR26512958)' executor > local (2) [a6/9c6b79] process > deepvar (Germline Variant on SRR26512959) [100%] 1 of 1, failed: 1 ERROR ~ Error executing process > 'deepvar (Germline Variant on SRR26512958)' Caused by: Process
deepvar (Germline Variant on SRR26512958)
terminated with an error exit status (127) Command executed: sudo docker run -v "/home/ubuntu/dd/nextflow2":"/home/ubuntu/dd/nextflow2" google/deepvariant:1.6.1 /opt/deepvariant/bin/run_deepvariant --model_type WES --ref /home/ubuntu/dd/nextflow2/reference/Homo_sapiens_assembly38.fasta --reads /home/ubuntu/dd/nextflow2/output/4.markDuplicate/SRR26512958_sorted_md.bam --regions /home/ubuntu/dd/nextflow2/reference/hg38_exome.bed --output_vcf /home/ubuntu/dd/nextflow2/output/5.snvS/SRR26512958_raw.vcf.gz --output_gvcf /home/ubuntu/dd/nextflow2/SRR26512958_raw.gvcf.gz --num_shards 16 --intermediate_results_dir /home/ubuntu/dd/nextflow2/tmp > deepvariant_log.txt 2>&1 Command exit status: 127 Command output: (empty) Command error: docker: Error response from daemon: open /var/lib/docker/overlay2/fe3663cd03e849890d83be14603f217249f3f43f9585b554df599d0318909f21/.tmp-committed2046174062: no such file or directory. See 'docker run --help'. Work dir: /home/ubuntu/dd/nextflow2/work/ea/9ecd306270fe3f00d9b73f8261fe89 Tip: you can try to figure out what's wrong by changing to the process work dir and showing the script file named
.command.sh
-- Check '.nextflow.log' file for details
r
Hi @deepak bhayal!It seems this issue may be related to where DeepVariant is attempting to write temporary files. I recommend checking your mounted folders and Docker configuration to start. Also, since this question doesn’t appear to be directly related to the rare disease pipeline (looks like your error has more to do with docker), you might receive more specific help in the general #CE6SDBX2A channel.