Skip to content

Commit

Permalink
Fixed the mosdepth rule so it works now, needed the bam index first.
Browse files Browse the repository at this point in the history
  • Loading branch information
groverj3 committed Sep 3, 2019
1 parent 5d668d8 commit 8a568b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ rule methyldackel_extract:
# Get the depth for each sample
rule mosdepth:
input:
'3_aligned_sorted_markdupes/{sample}.sorted.markdupes.bai',
bam = '3_aligned_sorted_markdupes/{sample}.sorted.markdupes.bam'
output:
'6_mosdepth/{sample}.sorted.markdupes.mosdepth.global.dist.txt',
Expand Down
3 changes: 2 additions & 1 deletion config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ samples:

reference_genome:
stuff/bwameth_reference/example_ref.fasta
# Path to a bwameth indexed genome here with .fasta extension
# Path to a reference genome here with .fasta extension
# If indexed, then the index will not be regenerated


# Options for individual workflow steps
Expand Down

0 comments on commit 8a568b4

Please sign in to comment.