Skip to content

Commit

Permalink
Merge pull request #130 from Elad-herz/fix_test
Browse files Browse the repository at this point in the history
fix 'small test' relative path
  • Loading branch information
kubranarci authored Jan 17, 2025
2 parents 1f63c77 + 76d93a8 commit 5a9a73f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions workflows/variantbenchmarking.nf
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@ workflow VARIANTBENCHMARKING {

}else{
if (params.genome == "GRCh38"){
rename_chr = Channel.fromPath("assets/rename_contigs/grch37_grch38.txt", checkIfExists: true).map{ txt -> tuple([id: txt.getSimpleName()], txt) }.collect()
rename_chr = Channel.fromPath("${projectDir}/assets/rename_contigs/grch37_grch38.txt", checkIfExists: true).map{ txt -> tuple([id: txt.getSimpleName()], txt) }.collect()
}
else if(params.genome == "GRCh37")
{
rename_chr = Channel.fromPath("assets/rename_contigs/grch38_grch37.txt", checkIfExists: true).map{ txt -> tuple([id: txt.getSimpleName()], txt) }.collect()
rename_chr = Channel.fromPath("${projectDir}/assets/rename_contigs/grch38_grch37.txt", checkIfExists: true).map{ txt -> tuple([id: txt.getSimpleName()], txt) }.collect()
}
else{
rename_chr = Channel.empty()
Expand Down

0 comments on commit 5a9a73f

Please sign in to comment.