Skip to content

Commit

Permalink
Name intermediate STRetch bams .STRdecoy.bam
Browse files Browse the repository at this point in the history
  • Loading branch information
hdashnow committed Sep 29, 2018
1 parent 59bfc3b commit 6f7c480
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pipelines/pipeline_stages.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ align_bwa = {
doc "Align reads with bwa mem algorithm."

def fastaname = get_fname(REF)
from('fastq.gz', 'fastq.gz') produce(branch.sample + '.bam') {
from('fastq.gz', 'fastq.gz') produce(branch.sample + '.STRdecoy.bam') {
exec """
set -o pipefail
Expand Down Expand Up @@ -111,7 +111,7 @@ align_bwa_bam = {
// - the file extension '.bam'
List outputFileParts = [branch.sample] +
(bwa_parallelism>1?[shard]:[]) + // empty unless parallelism used
['bam']
['STRdecoy.bam']

produce(outputFileParts.join('.')) {
exec """
Expand All @@ -136,7 +136,7 @@ merge_bams = {
return
}

produce(branch.sample + '.merge.bam') {
produce(branch.sample + '.STRdecoy.merge.bam') {
exec """
time java -Xmx2g -jar $STRETCH/tools/picard.jar MergeSamFiles
${inputs.bam.withFlag("INPUT=")}
Expand Down

0 comments on commit 6f7c480

Please sign in to comment.