Skip to content

Why are we using -B 3 (tumor mismatch penalty)? #62

Open

Description

We should have more information on why we're doing that.
I do believe it's a good idea, but can we back it up?

sarek/main.nf

Lines 673 to 681 in 05c6e0b

extra = status == 1 ? "-B 3" : ""
convertToFastq = hasExtension(inputFile1, "bam") ? "gatk --java-options -Xmx${task.memory.toGiga()}g SamToFastq --INPUT=${inputFile1} --FASTQ=/dev/stdout --INTERLEAVE=true --NON_PF=true | \\" : ""
input = hasExtension(inputFile1, "bam") ? "-p /dev/stdin - 2> >(tee ${inputFile1}.bwa.stderr.log >&2)" : "${inputFile1} ${inputFile2}"
"""
${convertToFastq}
bwa mem -K 100000000 -R \"${readGroup}\" ${extra} -t ${task.cpus} -M ${fasta} \
${input} | \
samtools sort --threads ${task.cpus} -m 2G - > ${idSample}_${idRun}.bam
"""

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

docsquestionFurther information is requested

Type

No type

Projects

  • Status

    Not planned for this release

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions