adding .index back

This commit is contained in:
kevinmenden 2020-12-18 10:58:37 +01:00
parent 0be13edc52
commit 299a3fa07e
2 changed files with 1 additions and 2 deletions

View file

@ -29,7 +29,7 @@ process BOWTIE_INDEX {
def software = getSoftwareName(task.process) def software = getSoftwareName(task.process)
""" """
mkdir bowtie mkdir bowtie
bowtie-build --threads $task.cpus $fasta bowtie/${fasta.baseName} bowtie-build --threads $task.cpus $fasta bowtie/${fasta.baseName}.index
echo \$(bowtie --version 2>&1) | sed 's/^.*bowtie-align-s version //; s/ .*\$//' > ${software}.version.txt echo \$(bowtie --version 2>&1) | sed 's/^.*bowtie-align-s version //; s/ .*\$//' > ${software}.version.txt
""" """
} }

View file

@ -31,4 +31,3 @@ workflow test_bowtie_alignment_paired_end {
file("${launchDir}/tests/data/fastq/rna/test_R2.fastq.gz", checkIfExists: true) ] ] file("${launchDir}/tests/data/fastq/rna/test_R2.fastq.gz", checkIfExists: true) ] ]
BOWTIE_ALIGN ( input, BOWTIE_INDEX.out.index ) BOWTIE_ALIGN ( input, BOWTIE_INDEX.out.index )
} }