Skip to content

Commit

Permalink
Updated README to include the SMN visualization tool
Browse files Browse the repository at this point in the history
  • Loading branch information
xiao-chen-xc committed May 19, 2020
1 parent 61af3a3 commit 79707b0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,12 @@ A .json file is also produced that contains more information for debugging purpo
| g27134TG_raw | Raw CN value of g.27134T>G |
| Info | Filter value for SMN1 CN call |
| Confidence | Confidence of SMN1 CN calls at SNP sites |

## Visualizing the results
A visualization tool for the SMNCopyNumberCaller result takes the .json file produced by SMNCopyNumberCaller and can be run as follows:
```bash
smn_charts.py -s SMN_JSON_FILE \
-o OUTPUT_DIRECTORY
```
A .pdf file is produced for each sample in OUTPUT_DIRECTORY, containing four plots. The first two plots show where the raw depth values (vertical lines) stand against the population samples for the total SMN CN and the full length SMN CN. The third plot shows the raw CN values for SMN1 and SMN2 at 8 sites that we use to determine the consensus. #13 is the splice variant site. The last plot shows the raw read counts for SMN1 and SMN2 on the right y axis and the left y axis is a rough calculation of CN: #reads divided by the median haploid depth.

0 comments on commit 79707b0

Please sign in to comment.