Skip to content

Commit

Permalink
grch37 assembly by default, grch38 still has some bugs that need to b…
Browse files Browse the repository at this point in the history
…e resolved first: sigven/pcgr#27
  • Loading branch information
brainstorm committed May 7, 2018
1 parent f705088 commit e52b388
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ansible/files/pcgr_consumer.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,14 @@ def process(sample):
cleanup(sample)
os.mkdir(output_dir)

cmdline = "/mnt/pcgr/pcgr.py --force_overwrite --input_vcf {vcf}.vcf.gz {somatic_flags} /mnt/pcgr {output} {conf}.toml {sample}"
cmdline = "/mnt/pcgr/pcgr.py --force_overwrite --input_vcf {vcf}.vcf.gz {somatic_flags} /mnt/pcgr {output} {genome_assembly} {conf}.toml {sample}"

if sample.endswith("-somatic"):
cmdline = cmdline.format(vcf=sample,
conf=sample,
output=output_dir,
sample=sample,
genome_assembly="grch37",
somatic_flags="--input_cna {}.tsv".format(sample))

log.info("Processing somatic sample {sample} with commandline {cli}".format(sample=sample, cli=cmdline))
Expand All @@ -73,6 +74,7 @@ def process(sample):
conf=sample,
output=output_dir,
sample=sample,
genome_assembly="grch37",
somatic_flags='')

log.info("Processing normal sample {sample} with commandline: {cli}".format(sample=sample, cli=cmdline))
Expand Down

1 comment on commit e52b388

@vladsavelyev
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we don't use mutational signatures in PCGR, it's unrelated for us :) We can safely use 38

Please sign in to comment.