-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreporting_igdiscover.smk
More file actions
24 lines (22 loc) · 988 Bytes
/
reporting_igdiscover.smk
File metadata and controls
24 lines (22 loc) · 988 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
"""
Rules for reporting on IgDiscover output.
"""
# See also the final/dendrogram_{segment}.pdf files from IgDiscover
rule report_igdiscover_tree:
output: "analysis/reporting/igdiscover/{ref}/{chain_type}/{subject}/{segment}.nex"
input:
after="analysis/reporting/igdiscover/{ref}/{chain_type}/{subject}/{segment}.fasta",
before="analysis/igdiscover/{ref}/{chain_type}/{segment}.fasta"
log:
conda="analysis/reporting/igdiscover/{ref}/{chain_type}/{subject}/{segment}.nex.conda_build.txt"
conda: "envs/igseq.yaml"
conda: "envs/igseq.yaml"
shell:
"""
conda list --explicit > {log.conda}
igseq tree before={input.before} after={input.after} {output}
"""
rule report_igdiscover_final_db:
output: "analysis/reporting/igdiscover/{ref}/{chain_type}/{subject}/{segment}.fasta"
input: "analysis/igdiscover/{ref}/{chain_type}/{subject}/final/database/{segment}.fasta"
shell: "cp {input} {output}"