Skip to content

Commit 5e0bf97

Browse files
author
Ubuntu
committed
modify star matrix command and removed hla name converting
1 parent 0db06db commit 5e0bf97

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

modules/neoantigen/neoantigen_cohort.snakefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ def neoantigen_cohort_targets(wildcards):
66
"""Generates the targets for this module"""
77
ls = []
88
ls.append("analysis/neoantigen/merge/genotypes.tsv")
9-
ls.append("analysis/neoantigen/merge/genotypes.p-group.tsv")
9+
#ls.append("analysis/neoantigen/merge/genotypes.p-group.tsv")
1010
#ls.append("files/multiqc/neoantigen/hla_typing_frequency_plot.png")
1111
#ls.append("files/multiqc/neoantigen/hla_heatmap.txt")
1212
return ls
@@ -27,6 +27,7 @@ rule arcasHLA_merge:
2727
shell:
2828
"""{params.arcasHLA_path}/arcasHLA merge -i {params.outpath} -o {params.outpath}"""
2929

30+
'''
3031
rule arcasHLA_convert:
3132
input:
3233
res = "analysis/neoantigen/merge/genotypes.tsv",
@@ -37,7 +38,6 @@ rule arcasHLA_convert:
3738
shell:
3839
"""{params.arcasHLA_path}/arcasHLA convert -r p-group {input.res} -o {output.pgroup}"""
3940
40-
'''
4141
rule arcasHLA_plot:
4242
input:
4343
res = "analysis/neoantigen/merge/genotypes.p-group.tsv",
@@ -54,4 +54,4 @@ rule arcasHLA_plot:
5454
conda: "../../envs/stat_perl_r.yml"
5555
shell:
5656
"{params.path}; Rscript src/neoantigen/hla_plot.R --hla {input.res} --meta {params.meta} --expression {input.expr} --group {params.group} --outdir {params.outpath} --multiqc {params.multiqc}"
57-
'''
57+
'''

modules/preprocess/preprocess_cohort.snakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ _preprocess_threads = 8
77
import pandas as pd
88

99
def merge_sep_inputs(inputs):
10-
inputs_format = ','.join(str(i) for i in list(inputs)[0])
10+
inputs_format = ' -f '.join(str(i) for i in list(inputs)[0])
1111
return inputs_format
1212

1313
def preprocess_cohort_targets(wildcards):

0 commit comments

Comments
 (0)