Skip to content
Snippets Groups Projects
Unverified Commit f34f7a0b authored by Nicolas Servant's avatar Nicolas Servant Committed by GitHub
Browse files

Update main.nf


Co-authored-by: default avatarMatthias Hörtenhuber <mashehu@users.noreply.github.com>
parent 40b544c8
No related branches found
No related tags found
No related merge requests found
......@@ -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 }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment