Git Product home page Git Product logo

variant-calling-pipeline-gatk4's Issues

Error while running the nextflow framework at getMetrics step

Hello!
I'm using the nextflow framework for variant calling in E.coli, I am pretty new to this. I have configured my nextflow.config file.The process crashes in the getMetrics step. The error shows PICARD_JAR: unbound variable but I did export pICARD_JAR to my ./bashrc.
The error is as follows:

Error executing process > 'getMetrics (1)'

Caused by:
Process getMetrics (1) terminated with an error exit status (1)

Command executed:

java -jar $PICARD_JAR CollectAlignmentSummaryMetrics 7R=/STORAGE/e_coli/GCF_000005845.2_ASM584v2_genomic.fna I=MT-2021-00037_S4_L001_R_sorted_dedup.bam 0003O=MT-2021-00037_S4_L001_R_alignment_metrics.txt
java -jar $PICARD_JAR CollectInsertSizeMetrics INPUT=MT-2021-00037_S4_L001_R_sorted_dedup.bam OUTPUT=MT-2021-00037_S4_L001_R_insert_metrics.txt HISTOGRAM_FILE=MT-2021-00037_S4_L001_R_insert_size_histogram.pdf
samtools depth -a MT-2021-00037_S4_L001_R_sorted_dedup.bam > MT-2021-00037_S4_L001_R_depth_out.txt

Command exit status:
1

Command output:
(empty)

Command error:
.command.sh: line 2: PICARD_JAR: unbound variable

Work dir:
/STORAGE/e_coli/control_result/nextflow_work_dir/29/d10f0357a7b623c360e06d31fdd913

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.