Skip to content

Commit

Permalink
Update main.nf
Browse files Browse the repository at this point in the history
Co-authored-by: Matthias Hörtenhuber <[email protected]>
  • Loading branch information
nservant and mashehu authored May 21, 2021
1 parent 40b544c commit f34f7a0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,6 @@ if ( params.bwt2_index ){

}
else if ( params.fasta ) {
//lastPath = params.fasta.lastIndexOf(File.separator)
//fasta_base = params.fasta.substring(lastPath+1)
//fasta_base = fasta_base.toString() - ~/(\.fa)?(\.fasta)?(\.fas)?(\.fsa)?$/

Channel.fromPath( params.fasta )
.ifEmpty { exit 1, "Genome index: Fasta file not found: ${params.fasta}" }
.into { fasta_for_index }
Expand Down

0 comments on commit f34f7a0

Please sign in to comment.