@@ -16,27 +16,8 @@ substantiate the SV.
1616 <summary >samplot plot</summary >
1717
1818 ```
19- usage: samplot plot [-h] [--marker_size MARKER_SIZE] [-n TITLES [TITLES ...]]
20- [-r REFERENCE] [-z Z] -b BAMS [BAMS ...] -o OUTPUT_FILE -s
21- START -e END -c CHROM [-w WINDOW] [-d MAX_DEPTH]
22- [--minq MINQ] [-t SV_TYPE] [-T TRANSCRIPT_FILE]
23- [-A ANNOTATION_FILES [ANNOTATION_FILES ...]]
24- [--coverage_tracktype {stack,superimpose}] [-a]
25- [-H PLOT_HEIGHT] [-W PLOT_WIDTH] [-q MIN_MQUAL] [-j]
26- [--start_ci START_CI] [--end_ci END_CI]
27- [--long_read LONG_READ] [--min_event_size MIN_EVENT_SIZE]
28- [--xaxis_label_fontsize XAXIS_LABEL_FONTSIZE]
29- [--yaxis_label_fontsize YAXIS_LABEL_FONTSIZE]
30- [--legend_fontsize LEGEND_FONTSIZE]
31- [--annotation_fontsize ANNOTATION_FONTSIZE]
32- [--common_insert_size] [--hide_annotation_labels]
33- [--coverage_only] [--same_yaxis_scales] [--zoom ZOOM]
34- [--debug DEBUG]
35-
3619optional arguments:
3720 -h, --help show this help message and exit
38- --marker_size MARKER_SIZE
39- Size of marks on pairs and splits (default 3)
4021 -n TITLES [TITLES ...], --titles TITLES [TITLES ...]
4122 Space-delimited list of plot titles. Use quote marks
4223 to include spaces (i.e. "plot 1" "plot 2")
@@ -46,36 +27,53 @@ optional arguments:
4627 -b BAMS [BAMS ...], --bams BAMS [BAMS ...]
4728 Space-delimited list of BAM/CRAM file names
4829 -o OUTPUT_FILE, --output_file OUTPUT_FILE
49- Output file name
30+ Output file name/type. Defaults to
31+ {type}_{chrom}_{start}_{end}.png
32+ --output_dir OUTPUT_DIR
33+ Output directory name. Defaults to working dir.
34+ Ignored if --output_file is set
5035 -s START, --start START
51- Start position of region/variant
52- -e END, --end END End position of region/variant
36+ Start position of region/variant (add multiple for
37+ translocation/BND events)
38+ -e END, --end END End position of region/variant (add multiple for
39+ translocation/BND events)
5340 -c CHROM, --chrom CHROM
54- Chromosome
41+ Chromosome (add multiple for translocation/BND events)
5542 -w WINDOW, --window WINDOW
5643 Window size (count of bases to include in view),
5744 default(0.5 * len)
5845 -d MAX_DEPTH, --max_depth MAX_DEPTH
5946 Max number of normal pairs to plot
60- --minq MINQ coverage from reads with MAPQ <= minq plotted in
61- lighter grey. To disable, pass in negative value
6247 -t SV_TYPE, --sv_type SV_TYPE
6348 SV type. If omitted, plot is created without variant
6449 bar
6550 -T TRANSCRIPT_FILE, --transcript_file TRANSCRIPT_FILE
66- GFF of transcripts
51+ GFF3 of transcripts
52+ --transcript_filename TRANSCRIPT_FILENAME
53+ Name for transcript track
54+ --max_coverage_points MAX_COVERAGE_POINTS
55+ number of points to plot in coverage axis (downsampled
56+ from region size for speed)
6757 -A ANNOTATION_FILES [ANNOTATION_FILES ...], --annotation_files ANNOTATION_FILES [ANNOTATION_FILES ...]
6858 Space-delimited list of bed.gz tabixed files of
6959 annotations (such as repeats, mappability, etc.)
70- --coverage_tracktype {stack,superimpose}
60+ --annotation_filenames ANNOTATION_FILENAMES [ANNOTATION_FILENAMES ...]
61+ Space-delimited list of names for the tracks in
62+ --annotation_files
63+ --coverage_tracktype {stack,superimpose,none}
7164 type of track to use for low MAPQ coverage plot.
7265 -a, --print_args Print commandline arguments
7366 -H PLOT_HEIGHT, --plot_height PLOT_HEIGHT
7467 Plot height
7568 -W PLOT_WIDTH, --plot_width PLOT_WIDTH
7669 Plot width
77- -q MIN_MQUAL , --min_mqual MIN_MQUAL
70+ -q INCLUDE_MQUAL , --include_mqual INCLUDE_MQUAL
7871 Min mapping quality of reads to be included in plot
72+ (default 1)
73+ --separate_mqual SEPARATE_MQUAL
74+ coverage from reads with MAPQ <= separate_mqual
75+ plotted in lighter grey. To disable, pass in negative
76+ value
7977 -j, --json_only Create only the json file, not the image plot
8078 --start_ci START_CI confidence intervals of SV first breakpoint (distance
8179 from the breakpoint). Must be a comma-separated pair
@@ -86,9 +84,10 @@ optional arguments:
8684 --long_read LONG_READ
8785 Min length of a read to be treated as a long-read
8886 (default 1000)
87+ --ignore_hp Choose to ignore HP tag in alignment files
8988 --min_event_size MIN_EVENT_SIZE
9089 Min size of an event in long-read CIGAR to include
91- (default 100 )
90+ (default 20 )
9291 --xaxis_label_fontsize XAXIS_LABEL_FONTSIZE
9392 Font size for X-axis labels (default 6)
9493 --yaxis_label_fontsize YAXIS_LABEL_FONTSIZE
@@ -100,10 +99,17 @@ optional arguments:
10099 --common_insert_size Set common insert size for all plots
101100 --hide_annotation_labels
102101 Hide the label (fourth column text) from annotation
103- files, useful for region with many annotations
102+ files, useful for regions with many annotations
104103 --coverage_only Hide all reads and show only coverage
104+ --max_coverage MAX_COVERAGE
105+ apply a maximum coverage cutoff. Unlimited by default
105106 --same_yaxis_scales Set the scales of the Y axes to the max of all
106- --zoom ZOOM Only show +- zoom amount around breakpoints
107+ --marker_size MARKER_SIZE
108+ Size of marks on pairs and splits (default 3)
109+ --dpi DPI Dots per inches (pixel count, default 300)
110+ --zoom ZOOM Only show +- zoom amount around breakpoints, much
111+ faster for large regions. Ignored if region smaller
112+ than --zoom (default 500000)
107113 --debug DEBUG Print debug statements
108114```
109115</details >
0 commit comments