Skip to content

Commit

Permalink
fixed the fancy naming
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreaGuarracino committed Mar 23, 2021
1 parent eac38ac commit ce4cb58
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -37,31 +37,31 @@ if (!params.file_name_prefix) {
} else if (params.file_name_prefix == "pggb") {
// fancy naming scheme
file_name_prefix_display = ".pggb"
alignment_prefix = """-\
${aligner}-\
s${params.alignment_segment_length}-\
l${params.alignment_block_length}-\
p${params.alignment_map_pct_id}-\
n${params.alignment_n_secondary}-\
${edyeet_align_pct_id_display}\
K${params.alignment_mash_kmer}\
${alignment_merge_cmd}\
${alignment_split_cmd}\
${alignment_exclude_cmd}\
""".stripIndent()
seqwish_prefix = """\
.seqwish-\
k${params.seqwish_min_match_length}-\
B${params.seqwish_transclose_batch}\
""".stripIndent()
smoothxg_prefix = """${seqwish_prefix}\
.smoothxg-\
w${params.smoothxg_max_block_weight}-\
j${params.smoothxg_max_path_jump}-\
e${params.smoothxg_max_edge_jump}-\
I${params.smoothxg_block_id_min}-\
p${smoothxg_poa_params_display}-M-J0.7-K-G150\
""".stripIndent()
alignment_prefix = """-\
${aligner}-\
s${params.alignment_segment_length}-\
l${params.alignment_block_length}-\
p${params.alignment_map_pct_id}-\
n${params.alignment_n_secondary}-\
${edyeet_align_pct_id_display}\
K${params.alignment_mash_kmer}\
${alignment_merge_cmd}\
${alignment_split_cmd}\
${alignment_exclude_cmd}\
"""
seqwish_prefix = """${alignment_prefix}\
.seqwish-\
k${params.seqwish_min_match_length}-\
B${params.seqwish_transclose_batch}\
"""
smoothxg_prefix = """${seqwish_prefix}\
.smoothxg-\
w${params.smoothxg_max_block_weight}-\
j${params.smoothxg_max_path_jump}-\
e${params.smoothxg_max_edge_jump}-\
I${params.smoothxg_block_id_min}-\
p${smoothxg_poa_params_display}-M-J0.7-K-G150\
"""
} else {
// take the given prefix
file_name_prefix_display= "${params.file_name_prefix}.pggb"
Expand Down

0 comments on commit ce4cb58

Please sign in to comment.