Skip to content

Commit

Permalink
bug fix genome dir path
Browse files Browse the repository at this point in the history
  • Loading branch information
ens-ftricomi committed Aug 15, 2024
1 parent a799ea1 commit 3166828
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pipelines/nextflow/modules/star_alignment/index_genome.nf
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ process INDEX_GENOME {
//if (!genomeIndexFile.exists() || genomeIndexFile.length() == 0) {
// Read the .fna file and perfor
// d= new File("${genomeDir}")
def genomefilePath=d.listFiles().find { it.name.endsWith('.fna') }
def genomefilePath=genomeDirPath.listFiles().find { it.name.endsWith('.fna') }
def genomeFile=genomefilePath.absolutePath
// Function to calculate the min value
def min = { a, b -> a < b ? a : b }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ process INDEX_GENOME {
//if (!genomeIndexFile.exists() || genomeIndexFile.length() == 0) {
// Read the .fna file and perfor
// d= new File("${genomeDir}")
def genomefilePath=d.listFiles().find { it.name.endsWith('.fna') }
def genomefilePath=genomeDirPath.listFiles().find { it.name.endsWith('.fna') }
def genomeFile=genomefilePath.absolutePath
// Function to calculate the min value
def min = { a, b -> a < b ? a : b }
Expand Down

0 comments on commit 3166828

Please sign in to comment.