Skip to content

Commit 8f8cb6d

Browse files
committed
Update readme
1 parent 6fe16dc commit 8f8cb6d

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

README.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ Install the package via pip
1111
### Usage
1212
```
1313
$ smvplot --help
14-
usage: smvplot [-h] --bam_paths STR --bam_names STR --ref FILE [--exclude_flag INT] [--map_quality INT] [--base_quality INT] [--max_depth_plot INT] [--vaf] [--vcf FILE] [--bed FILE]
15-
[--annotations FILE] [--prefix PREFIX] [--window N] [--samtoolsbin N] [--tabixbin N] [--plot_dir DIR] [--out_format STR]
16-
[region]
14+
usage: visualize.py [-h] --bam_paths STR --bam_names STR --ref FILE [--exclude_flag INT] [--map_quality INT] [--base_quality INT] [--max_depth_plot INT] [--vaf] [--for_gSmVs] [--vcf FILE] [--bed FILE] [--annotations FILE] [--annotation_names STR] [--prefix PREFIX]
15+
[--window N] [--samtoolsbin N] [--tabixbin N] [--plot_dir DIR] [--out_format STR] [--ref_base STR] [--alt_base STR]
16+
[region]
1717
1818
This script generates a png file for each entry in a vcf file, a bed file or a manually specified region.
1919
@@ -30,15 +30,20 @@ optional arguments:
3030
--base_quality INT Minimum base quality for the variant, [default = 13]
3131
--max_depth_plot INT Maximum read depth used to plot the high coverage region, [default = 500]
3232
--vaf Include the VAF of the central position in the plot title. Requires reference genome
33+
--for_gSmVs For the gSmVs workflow used internally in DKFZ, the VAFs are directly sourced from the input VCF.
3334
--vcf FILE input vcf file ( as an alternative use --bed )
3435
--bed FILE input bed file ( as an alternative use --vcf )
35-
--annotations FILE annotation track indexed with tabix
36+
--annotations FILE Annotation track in bed format is indexed with a tabix. The fourth column could contain the annotation text for the segments. A comma can separate multiple files.
37+
--annotation_names STR
38+
annotation names separated by comma. Same length as annotation files
3639
--prefix PREFIX target directory and file name prefix for generated output files, [default = smvplot]
3740
--window N the output file for position X will show the region [X-window,X+window], [default = 100]
3841
--samtoolsbin N the path to the samtools binary, [default = samtools]
3942
--tabixbin N the path to the tabix binary, [default = tabix]
4043
--plot_dir DIR subfolder for the plots
4144
--out_format STR Output format of the plot, [default = pdf]
45+
--ref_base STR Reference base for the variant entry, [default = ]
46+
--alt_base STR Alternate base for the variant entry, [default = ]
4247
```
4348

4449
### Example plots
@@ -85,6 +90,9 @@ smvplot \
8590
```
8691
### Changelog
8792

93+
**0.1.0**
94+
- Minor: Read sorting by input ref/alt based via cmd parameter
95+
8896
**0.0.5.2**
8997
- Bug fix in plot_region argument
9098

0 commit comments

Comments
 (0)