Skip to content

Commit 81cf09c

Browse files
committed
code polish
1 parent a308028 commit 81cf09c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

subworkflows/local/prepare_genome.nf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@ workflow PREPARE_GENOME {
5151

5252
GATK4_CREATESEQUENCEDICTIONARY(fasta)
5353
MSISENSORPRO_SCAN(fasta.map{ it -> [[id:it[0].baseName], it] })
54-
SAMTOOLS_FAIDX(fasta.map{ it -> [[id:it[0].getName()], it] })
54+
SAMTOOLS_FAIDX(fasta.map{ it -> [[id:it[0].baseName], it] })
5555

5656
// the following are flattened and mapped in case the user supplies more than one value for the param
5757
// written for KNOWN_INDELS, but preemptively applied to the rest
58-
// [file1,file2] becomes [[meta1,file1],[meta2,file2]]
58+
// [file1, file2] becomes [[meta1, file1],[meta2, file2]]
5959
// outputs are collected to maintain a single channel for relevant TBI files
6060
TABIX_DBSNP(dbsnp.flatten().map{ it -> [[id:it.baseName], it] })
6161
TABIX_GERMLINE_RESOURCE(germline_resource.flatten().map{ it -> [[id:it.baseName], it] })

0 commit comments

Comments
 (0)