Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ASLeonard committed Apr 28, 2022
1 parent 9cc7ee3 commit cc645c6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .test/config/run_parameters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ split_size:
SR: 100000000
winnow_threshold: 0.9998
haplotypes:
- 'asm'
- 'trio'
- 'parents'
assemblers:
Expand All @@ -49,7 +48,7 @@ target_metrics:
- 'mm2.vcf'
- 'wm2.vcf'
primary:
- 'telo.txt'
- 'telo.100.txt'
- 'repeats.csv'
- 'repeats.tbl'
- 'merqury.full.stats'
Expand Down
2 changes: 1 addition & 1 deletion Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ wildcard_constraints:
data = r'[^\W_]+',
modifier = r'\w+',
read_t = r'hifi|SR',
mapper = r'mm2|wm'
mapper = r'mm2|wm2'

#------------#
#DEFINE RULES#
Expand Down
4 changes: 2 additions & 2 deletions snakepit/variant_calling.smk
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ rule mumandco_summarise:

rule paf_variants:
input:
WORK_PATH + '{haplotype}_scaffolds_ref.{mapper}.paf'
get_dir('work','{haplotype}_scaffolds_ref.{mapper}.paf')
output:
RESULT_PATH + '.{mapper}.vcf'
get_dir('result','.{mapper}.vcf')
shell:
'sort {input} -k6,6 -k8,8n | paftools.js call -f {config[ref_genome]} - > {output}'

Expand Down

0 comments on commit cc645c6

Please sign in to comment.