Skip to content

Commit

Permalink
add calmd troubleshooting
Browse files Browse the repository at this point in the history
  • Loading branch information
maxibor committed Nov 16, 2020
1 parent 38ddbc8 commit 432f472
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ __ homepage_
API
CLI
output
troubleshooting



Expand Down
11 changes: 11 additions & 0 deletions docs/source/troubleshooting.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Troubleshooting

## My alignment files don't have a MD tag

You can use [samtools calmd](http://www.htslib.org/doc/samtools-calmd.html) to set the MD tag

Example:

```bash
samtools calmd -b alignment.bam reference.fasta > aln.bam
```
2 changes: 1 addition & 1 deletion pydamage/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def cli(no_args_is_help=True, **kwargs):
Contact: <borry[at]shh.mpg.de>
Homepage & Documentation: github.com/maxibor/pydamage
BAM: path to BAM/SAM/CRAM alignment file
BAM: path to BAM/SAM/CRAM alignment file. MD tags need to be set.
"""
analyze(**kwargs)

Expand Down

0 comments on commit 432f472

Please sign in to comment.