Skip to content

Commit

Permalink
Remove path from modules - address #2
Browse files Browse the repository at this point in the history
  • Loading branch information
KristinaGagalova committed Dec 23, 2023
1 parent 08c1319 commit 6e09ac5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,9 @@ workflow GENOME_INDEX {
run_hisat_index_high_mem(genome, genes)
} else if (aligner == "hisat") {
run_hisat_index(genome, genes)
} else if (aligner == "star") {
} else if (aligner == "star" || || aligner == "star-plants") {
run_star_index(genome, genes)
} else if (aligner == "star-snps" || aligner == "star-plants") {
} else if (aligner == "star-snps") {
run_star_index_snps(genome, genes)
}
}
Expand Down
4 changes: 2 additions & 2 deletions modules/module_align_counts.nf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ process combine_counts_star {

script:
"""
$PWD/bin/CombineCounts-star.py --input $counts --strandedness $strandedness --output RawCountsStar.tsv
./bin/CombineCounts-star.py --input $counts --strandedness $strandedness --output RawCountsStar.tsv
"""

}
Expand All @@ -37,7 +37,7 @@ process combine_counts_featurecounts {

script:
"""
$PWD/bin/CombineCounts-featurecounts.py --input $counts --output RawCountsFeatureCounts.tsv
./bin/CombineCounts-featurecounts.py --input $counts --output RawCountsFeatureCounts.tsv
"""

}
Expand Down
4 changes: 2 additions & 2 deletions modules/module_align_qc.nf
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ process convert_bed {

script:
"""
$PWD/bin/gtf2bed.py $genes | awk -F'\t' 'NF==12 {print}' > ${genes.simpleName}.bed12
./bin/gtf2bed.py $genes | awk -F'\t' 'NF==12 {print}' > ${genes.simpleName}.bed12
"""
}

Expand Down Expand Up @@ -114,7 +114,7 @@ process combine_bam_stats {

script:
"""
$PWD/bin/Combine-bam-stats.py --input $bam_stats --output StatsBam.tsv
./bin/Combine-bam-stats.py --input $bam_stats --output StatsBam.tsv
"""

}

0 comments on commit 6e09ac5

Please sign in to comment.