Skip to content
Snippets Groups Projects
Unverified Commit 988c4020 authored by Laurent Modolo's avatar Laurent Modolo
Browse files

picard: fix bams var in main.nf

parent 9cc39469
No related branches found
No related tags found
No related merge requests found
......@@ -19,9 +19,9 @@ process mark_duplicate {
PicardCommandLine MarkDuplicates \
VALIDATION_STRINGENCY=LENIENT \
REMOVE_DUPLICATES=true \
INPUT=${bams[0]} \
OUTPUT=${bams[0].baseName}_dedup.bam \
METRICS_FILE=${bams[0].baseName}_picard_dedup_report.txt &> \
picard_${bams[0].baseName}.log
INPUT=${bam} \
OUTPUT=${bam.baseName}_dedup.bam \
METRICS_FILE=${bam.baseName}_picard_dedup_report.txt &> \
picard_${bam.baseName}.log
"""
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment