Skip to content

Commit 15735c9

Browse files
authored
Merge branch 'master' into update_docs
2 parents 3ea1703 + c296371 commit 15735c9

File tree

4 files changed

+41
-2
lines changed

4 files changed

+41
-2
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
[csei]: ../images/csei_examples.png
2+
3+
###Synopsis
4+
The `cis-splice-effects associate` command is used to identify splicing misregulation events. This command is similar to `cis-splice-effects identify`, but takes the BED output of `junctions extract` in lieu of a BAM file with RNA alignments. The tool then proceeds to associate non-canonical splicing junctions near the variant sites.
5+
6+
###Usage
7+
`regtools cis-splice-effects associate [options] variants.vcf junctions.bed ref.fa annotations.gtf`
8+
9+
###Input
10+
| Input | Description |
11+
| ------ | ----------- |
12+
| variants.vcf | Variant call in VCF format from which to look for cis-splice-effects.|
13+
| junctions.bed | BED file of junctions to look through for evidence of splice events. The file is expected to be in the [BED12 format](junctions-extract.md#output) of the `junctions extract` output. |
14+
| ref.fa | The reference FASTA file. The donor and acceptor sequences used in the "splice-site" column of the annotated junctions are extracted from the FASTA file. |
15+
| annotations.gtf | The GTF file specifies the transcriptome that is used to annotate the junctions and variants. For examples, the Ensembl GTFs for release78 are [here](ftp://ftp.ensembl.org/pub/release-78/gtf/).|
16+
17+
**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.
18+
19+
###Options
20+
| Option | Description |
21+
| ------ | ----------- |
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. |
26+
| -w INT | Window size in b.p to associate 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
34+
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)
35+
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)
36+
37+
###Examples
38+
![cis-splice-effects identify example][csei]

docs/commands/cis-splice-effects-identify.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The `cis-splice-effects identify` command is used to identify splicing misregula
2222
| -o STR | Output file containing the aberrant splice junctions with annotations. [STDOUT] |
2323
| -v STR | Output file containing variants annotated as splice relevant (VCF format). |
2424
| -j STR | Output file containing the aberrant junctions in BED12 format. |
25-
| -s INT | Strand specificity of RNA library preparation (0 = unstranded, 1 = first-strand/RF, 2, = second-strand/FR). [1] |
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. |
2626
| -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. |
2727
| -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] |
2828
| -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] |

docs/commands/commands.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ This set of tools helps identify and work with aberrant splicing events near var
1313
Below are links to detailed explanations of the `cis-splice-effects` sub-commands:
1414

1515
- [identify](cis-splice-effects-identify.md)
16+
- [associate](cis-splice-effects-associate.md)
1617

1718
##cis-ase
1819
This set of tools helps identify and work with allele-specific-expression near variants, these could be somatic variants or germline polymorphisms/mutations. These variants are hypothesized to act in cis and affect how the gene is transcribed.

docs/commands/junctions-extract.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The `junctions extract` command can be used to extract exon-exon junctions from
1818
| -o | File to write output to. STDOUT by default.|
1919
| -r | Region to extract junctions in. This is specified in the format "chr:start-end". If not specified, junctions are extracted from the entire BAM file.|
2020
| -h | Display help message for this command.|
21-
| -s | Strand specificity of RNA library preparation, where 0 = unstranded, 1 = first-strand/RF, 2 = second-strand/FR. The default is 1 (RF). This option is meant to be used if no XS tags are present in the input BAM.
21+
| -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.
2222

2323
###Output
2424
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.

0 commit comments

Comments
 (0)