Skip to content

Commit

Permalink
fix small test relative path
Browse files Browse the repository at this point in the history
  • Loading branch information
EladH1 committed Jan 17, 2025
1 parent 1f63c77 commit 76d93a8
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 76d93a8

Please sign in to comment.