Skip to content

Commit

Permalink
update fai file for the full test and formating
Browse files Browse the repository at this point in the history
  • Loading branch information
gq1 committed Nov 2, 2023
1 parent d6fa00f commit 3e8705c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 1 addition & 2 deletions conf/test_full.config
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,5 @@ params {
fasta = '/lustre/scratch124/tol/projects/darwin/data/insects/Cantharis_rufa/assembly/release/icCanRufa1.1/insdc/GCA_947369205.1.fasta.gz'

// Reference index file
fai = '/lustre/scratch124/tol/projects/darwin/data/insects/Cantharis_rufa/assembly/release/icCanRufa1.1/insdc/GCA_947369205.1.fasta.gz.fai'
gzi = '/lustre/scratch124/tol/projects/darwin/data/insects/Cantharis_rufa/assembly/release/icCanRufa1.1/insdc/GCA_947369205.1.fasta.gz.gzi'
fai = '/lustre/scratch124/tol/projects/darwin/data/insects/Cantharis_rufa/assembly/release/icCanRufa1.1/insdc/GCA_947369205.1.fasta.gz.gzi'
}
5 changes: 3 additions & 2 deletions workflows/variantcalling.nf
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,11 @@ if (params.fai){
){
exit 1, 'Reference fasta and its index file format not matched!'
}
ch_fai = Channel.fromPath(params.fai)
ch_fai = Channel.fromPath(params.fai)
} else {
ch_fai = Channel.empty()
ch_fai = Channel.empty()
}

if (params.interval){ ch_interval = Channel.fromPath(params.interval) } else { ch_interval = Channel.empty() }

if (params.split_fasta_cutoff ) { split_fasta_cutoff = params.split_fasta_cutoff } else { split_fasta_cutoff = 100000 }
Expand Down

0 comments on commit 3e8705c

Please sign in to comment.