Skip to content

Commit

Permalink
Use mpox PCR sequence reference file
Browse files Browse the repository at this point in the history
  • Loading branch information
skchronicles committed Apr 3, 2024
1 parent f1d698f commit b5d50b5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
3 changes: 2 additions & 1 deletion config/genome.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"references": {
"mpox_ref_genome": "/data/OpenOmics/references/mpox-seek/mpox_NC_003310_1.fa"
"mpox_ref_genome": "/data/OpenOmics/references/mpox-seek/mpox_NC_003310_1.fa",
"mpox_pcr_sequence": "/data/OpenOmics/references/mpox-seek/mpox_NC_003310_1_pcr_sequence.fa"
}
}
7 changes: 3 additions & 4 deletions workflow/rules/map.smk
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ rule minimap2:
sam = join(workpath, "{name}", "bams", "{name}.sam"),
params:
rname = 'minimap2',
ref_fa = config['references']['mpox_ref_genome'],
ref_fa = config['references']['mpox_pcr_sequence'],
conda: depending(conda_yaml_or_named_env, use_conda)
container: depending(config['images']['mpox-seek'], use_singularity)
shell:
Expand Down Expand Up @@ -48,7 +48,7 @@ rule consensus:
fixed = join(workpath, "{name}", "consensus", "{name}_consensus_seqid.fa"),
params:
rname = 'consensus',
ref_fa = config['references']['mpox_ref_genome'],
ref_fa = config['references']['mpox_pcr_sequence'],
conda: depending(conda_yaml_or_named_env, use_conda)
container: depending(config['images']['mpox-seek'], use_singularity)
shell:
Expand Down Expand Up @@ -85,7 +85,7 @@ rule concat:
fa = join(workpath, "project", "consensus.fa"),
params:
rname = 'premafft',
ref_fa = config['references']['mpox_ref_genome'],
ref_fa = config['references']['mpox_pcr_sequence'],
conda: depending(conda_yaml_or_named_env, use_conda)
container: depending(config['images']['mpox-seek'], use_singularity)
shell:
Expand Down Expand Up @@ -113,7 +113,6 @@ rule mafft:
msa = join(workpath, "project", "msa.fa"),
params:
rname = 'msa',
ref_fa = config['references']['mpox_ref_genome'],
conda: depending(conda_yaml_or_named_env, use_conda)
container: depending(config['images']['mpox-seek'], use_singularity)
shell:
Expand Down
1 change: 0 additions & 1 deletion workflow/rules/tree.smk
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ rule tree:
nw = join(workpath, "project", "mpox_phylogeny.raxml.bestTree"),
params:
rname = 'tree',
ref_fa = config['references']['mpox_ref_genome'],
prefix = join(workpath, "project", "mpox_phylogeny"),
conda: depending(conda_yaml_or_named_env, use_conda)
container: depending(config['images']['mpox-seek'], use_singularity)
Expand Down

0 comments on commit b5d50b5

Please sign in to comment.