Skip to content

Commit

Permalink
adjust tuple when hybrid strategy is both
Browse files Browse the repository at this point in the history
  • Loading branch information
fmalmeida committed Feb 13, 2024
1 parent 0b8e130 commit 098dd9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nf_functions/writeCSV.nf
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ def write_csv(in_list) {
* Output samplesheet as CSV
*/
if (entrypoint == 'hybrid_strategy_both') { // creates two lines for the sample, for both hybrid strategies
"${it.id}:strategy_1,hybrid_strategy_1,${fwd_pair},${rev_pair},${single},${lreads},${lr_type},${wtdbg2_technology},${genome_size},${corrected_longreads},${high_quality_longreads},${medaka_model},${nanopolish_fast5},${nanopolish_max_haplotypes},${shasta_config},${pacbio_bam}\n${it.id}:strategy_2,hybrid_strategy_2,${fwd_pair},${rev_pair},${single},${lreads},${lr_type},${wtdbg2_technology},${genome_size},${corrected_longreads},${medaka_model},${nanopolish_fast5},${nanopolish_max_haplotypes},${shasta_config},${pacbio_bam}"
"${it.id}:strategy_1,hybrid_strategy_1,${fwd_pair},${rev_pair},${single},${lreads},${lr_type},${wtdbg2_technology},${genome_size},${corrected_longreads},${high_quality_longreads},${medaka_model},${nanopolish_fast5},${nanopolish_max_haplotypes},${shasta_config},${pacbio_bam}\n${it.id}:strategy_2,hybrid_strategy_2,${fwd_pair},${rev_pair},${single},${lreads},${lr_type},${wtdbg2_technology},${genome_size},${corrected_longreads},${high_quality_longreads},${medaka_model},${nanopolish_fast5},${nanopolish_max_haplotypes},${shasta_config},${pacbio_bam}"
} else {
"${it.id},${entrypoint},${fwd_pair},${rev_pair},${single},${lreads},${lr_type},${wtdbg2_technology},${genome_size},${corrected_longreads},${high_quality_longreads},${medaka_model},${nanopolish_fast5},${nanopolish_max_haplotypes},${shasta_config},${pacbio_bam}"
}
Expand Down

0 comments on commit 098dd9a

Please sign in to comment.