Skip to content

Commit e4db44c

Browse files
committed
update to proper markdown
1 parent a10147e commit e4db44c

File tree

2 files changed

+33
-22
lines changed

2 files changed

+33
-22
lines changed
Lines changed: 23 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
[csei]: ../images/csei_examples.png
22

3-
###Synopsis
3+
# Overview of `cis-splice-effects identify` command
4+
45
The `cis-splice-effects identify` command is used to identify splicing misregulation events. This command takes in a list of variants in the VCF format and RNAseq alignments produced with a splice-aware aligner in the BAM format. The tool then proceeds to identify non-canonical splicing junctions near the variant sites.
56

6-
###Usage
7+
## Usage
8+
79
`regtools cis-splice-effects identify [options] variants.vcf alignments.bam ref.fa annotations.gtf`
810

9-
###Input
11+
## Input
12+
1013
| Input | Description |
1114
| ------ | ----------- |
1215
| variants.vcf | Variant call in VCF format from which to look for cis-splice-effects.|
@@ -16,23 +19,26 @@ The `cis-splice-effects identify` command is used to identify splicing misregula
1619

1720
**Note** - Please make sure that the version of the annotation GTF that you use corresponds with the version of the assembly build (ref.fa) and that the co-ordinates in the VCF file are also from the same build.
1821

19-
###Options
22+
## Options
23+
2024
| Option | Description |
2125
| ------ | ----------- |
22-
| -o STR | Output file containing the aberrant splice junctions with annotations. [STDOUT] |
23-
| -v STR | Output file containing variants annotated as splice relevant (VCF format). |
24-
| -j STR | Output file containing the aberrant junctions in BED12 format. |
25-
| -s INT | Strand specificity of RNA library preparation, where 0 = unstranded/XS, 1 = first-strand/RF, 2 = second-strand/FR. This option is required. If your alignments contain XS tags, these will be used in the "unstranded" mode. If you are unsure, we have created this [table](https://rnabio.org/module-09-appendix/0009/12/01/StrandSettings/) to help. |
26-
| -w INT | Window size in b.p to identify splicing events in. The tool identifies events in variant.start +/- w basepairs. Default behaviour is to look at the window between previous and next exons. |
27-
| -e INT | Maximum distance from the start/end of an exon to annotate a variant as relevant to splicing, the variant is in exonic space, i.e a coding variant. [3] |
28-
| -i INT | Maximum distance from the start/end of an exon to annotate a variant as relevant to splicing, the variant is in intronic space. [2] |
29-
| -I | Annotate variants in intronic space within a transcript(not to be used with -i). |
30-
| -E | Annotate variants in exonic space within a transcript(not to be used with -e). |
31-
| -S | Don't skip single exon transcripts. |
32-
33-
###Output
26+
| -o STR | Output file containing the aberrant splice junctions with annotations. [STDOUT] |
27+
| -v STR | Output file containing variants annotated as splice relevant (VCF format). |
28+
| -j STR | Output file containing the aberrant junctions in BED12 format. |
29+
| -s INT | Strand specificity of RNA library preparation, where 0 = unstranded/XS, 1 = first-strand/RF, 2 = second-strand/FR. This option is required. If your alignments contain XS tags, these will be used in the "unstranded" mode. If you are unsure, we have created this [table](https://rnabio.org/module-09-appendix/0009/12/01/StrandSettings/) to help. |
30+
| -w INT | Window size in b.p to identify splicing events in. The tool identifies events in variant.start +/- w basepairs. Default behaviour is to look at the window between previous and next exons. |
31+
| -e INT | Maximum distance from the start/end of an exon to annotate a variant as relevant to splicing, the variant is in exonic space, i.e a coding variant. [3] |
32+
| -i INT | Maximum distance from the start/end of an exon to annotate a variant as relevant to splicing, the variant is in intronic space. [2] |
33+
| -I | Annotate variants in intronic space within a transcript(not to be used with -i). |
34+
| -E | Annotate variants in exonic space within a transcript(not to be used with -e). |
35+
| -S | Don't skip single exon transcripts. |
36+
37+
## Output
38+
3439
For an explanation of the annotated junctions that are identified by this command please refer to the output of the `junctions annotate` command [here](junctions-annotate.md#output)
3540
For an explanation of the annotated variants that are identified by this command when using the -v option, please refer to the output of the `variants annotate` command [here](variants-annotate.md#output)
3641

37-
###Examples
42+
## Examples
43+
3844
![cis-splice-effects identify example][csei]

docs/commands/junctions-extract.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
1-
###Synopsis
1+
# Overview of `junctions extract` command
2+
23
The `junctions extract` command can be used to extract exon-exon junctions from an RNAseq BAM file. The output is a BED file in the BED12 format. We have tested this command with alignments from TopHat and by comparing the exon-exon junctions with the `junctions.bed` file produced from TopHat.
34

4-
###Usage
5+
## Usage
6+
57
`regtools junctions extract [options] indexed_alignments.bam`
68

7-
###Input
9+
## Input
10+
811
| Input | Description |
912
| ------ | ----------- |
1013
| indexed_alignments.bam | Aligned RNAseq BAM which has been indexed for example with `samtools index`. We have tested this command with alignments from TopHat.|
1114

12-
###Options
15+
## Options
16+
1317
| Option | Description |
1418
| ------ | ----------- |
1519
| -a | Minimum anchor length. 8bp by default. Junctions having a minimum overlap of this much on both ends are reported. Note - the required overlap can be observed amongst separate reads, for example one read might have sufficient left overlap and another read might have sufficient right overlap, this is sufficient for the junction to be reported. No mismatches are allowed in the anchor regions.|
@@ -20,7 +24,8 @@ The `junctions extract` command can be used to extract exon-exon junctions from
2024
| -h | Display help message for this command.|
2125
| -s | Strand specificity of RNA library preparation, where 0 = unstranded/XS, 1 = first-strand/RF, 2 = second-strand/FR. This option is required. If your alignments contain XS tags, these will be used in the "unstranded" mode. If you are unsure, we have created this [table](https://rnabio.org/module-09-appendix/0009/12/01/StrandSettings/) to help.
2226

23-
###Output
27+
## Output
28+
2429
The output is in the BED12 format which is described in detail [here.](https://genome.ucsc.edu/FAQ/FAQformat.html#format1) Each line is an exon-exon junction as explained below.
2530

2631
| Column-name | Description |

0 commit comments

Comments
 (0)