Documentation
1 unresolved thread
1 unresolved thread
Compare changes
- CJHerrmann authored
@@ -9,31 +9,32 @@
@@ -9,31 +9,32 @@
The pipeline consists of three snakefiles: The main Snakefile contains some general rules for the creation of indices and rules that deal with summary steps and combining of results across samples of the run. For single-end and paired-end sequencing samples there are two separate sub-snakefiles, as parameters to individual tools differ between the sequencing modes.
The pipeline consists of three snakefiles: A main Snakefile and an individual Snakefile for each sequencing mode (single-end and paired-end), as parameters to individual tools differ between the sequencing modes. The main Snakefile contains some general rules for the creation of indices, rules that are applicable to both sequencing modes, and rules that deal with summary steps and combining results across samples of the run.
Individual rules of the pipeline will be described shortly, and links to the respective software manuals are given. If parameters can be influenced by the user (via the input samples table) they will also be described.
@@ -71,20 +72,24 @@ fq2_polya | stretch of As or Ts, depending on read orientation; for cutadapt (ty
@@ -71,20 +72,24 @@ fq2_polya | stretch of As or Ts, depending on read orientation; for cutadapt (ty
Create index for STAR alignments. Supply the reference genome sequences (FASTA files) and annotations (GTF file), from which STAR generates genome indexes that are utilized in the 2nd (mapping) step. The genome indexes are saved to disk and need only be generated once for each genome/annotation/index size combination. [STAR manual](https://github.com/alexdobin/STAR/blob/master/doc/STARmanual.pdf)
Create index for STAR alignments. Supply the reference genome sequences (FASTA files) and annotations (GTF file), from which STAR generates genome indexes that are utilized in the 2nd (mapping) step. The genome indexes are saved to disk and need only be generated once for each genome/annotation/index size combination. [STAR manual](http://labshare.cshl.edu/shares/gingeraslab/www-data/dobin/STAR/STAR.posix/doc/STARmanual.pdf#section.2)
Create index for Salmon quantification. If you want to use Salmon in mapping-based mode, then you first have to build a salmon index for your transcriptome. This will build the mapping-based index, using an auxiliary k-mer hash over k-mers of length 31. While the mapping algorithms will make use of arbitrarily long matches between the query and reference, the k size selected here will act as the minimum acceptable length for a valid match. Thus, a smaller value of k may slightly improve sensitivty. We find that a k of 31 seems to work well for reads of 75bp or longer, but you might consider a smaller k if you plan to deal with shorter reads. [Salmon manual](https://salmon.readthedocs.io/en/latest/salmon.html)
Create index for [Salmon](https://salmon.readthedocs.io/en/latest/salmon.html) quantification. If you want to use Salmon in mapping-based mode, then you first have to build a salmon index for your transcriptome. This will build the mapping-based index, using an auxiliary k-mer hash over k-mers of length 31. While the mapping algorithms will make use of arbitrarily long matches between the query and reference, the k size selected here will act as the minimum acceptable length for a valid match. Thus, a smaller value of k may slightly improve sensitivty. Apparently a k of 31 seems to work well for reads of 75bp or longer, but you might consider a smaller k if you plan to deal with shorter reads.
@@ -92,19 +97,40 @@ Create index for Salmon quantification. If you want to use Salmon in mapping-bas
@@ -92,19 +97,40 @@ Create index for Salmon quantification. If you want to use Salmon in mapping-bas
Create index for Kallisto quantification. Similar to salmon index described above. The default kmer size of 31 is used in this pipeline and thus not adaptable by the user. [Kallisto manual](https://pachterlab.github.io/kallisto/manual).
Convert transcripts from gtf to bed12 format. This is needed for the TIN score calculation and doesn't require any parameters.
Index the genomic alignment with [samtools index](http://quinlanlab.org/tutorials/samtools/samtools.html#samtools-index). Indexing a genome sorted BAM file allows one to quickly extract alignments overlapping particular genomic regions. Moreover, indexing is required by genome viewers such as IGV so that the viewers can quickly display alignments in each genomic region to which you navigate.
Given a set of BAM files and a gene annotation BED file, calculates the Transcript Integrity Number (TIN) for each transcript. [GitLab repository](https://git.scicore.unibas.ch/zavolan_group/tools/tin_score_calculation). TIN is conceptually similar to RIN (RNA integrity number) but provides transcript level measurement of RNA quality and is more sensitive to measure low quality RNA samples:
Given a set of BAM files and a gene annotation BED file, calculates the Transcript Integrity Number (TIN) for each transcript. [GitLab repository](https://git.scicore.unibas.ch/zavolan_group/tools/tin_score_calculation). TIN is conceptually similar to RIN (RNA integrity number) but provides transcript level measurement of RNA quality and is more sensitive to measure low quality RNA samples:
@@ -116,6 +142,8 @@ Given a set of BAM files and a gene annotation BED file, calculates the Transcri
@@ -116,6 +142,8 @@ Given a set of BAM files and a gene annotation BED file, calculates the Transcri
Merge the salmon quantification *gene* results for all samples of same sequencing mode into a single file. Do this for tpm and number of reads separately.
@@ -133,10 +161,9 @@ Merge the salmon quantification *transcript* results for all samples of same seq
@@ -133,10 +161,9 @@ Merge the salmon quantification *transcript* results for all samples of same seq
[FastQC](https://www.bioinformatics.babraham.ac.uk/projects/fastqc/) aims to provide a simple way to do some quality control checks on raw sequence data coming from high throughput sequencing pipelines. It provides a modular set of analyses which you can use to give a quick impression of whether your data has any problems of which you should be aware before doing any further analysis.
[FastQC](https://www.bioinformatics.babraham.ac.uk/projects/fastqc/) aims to provide a simple way to do some quality control checks on raw sequence data coming from high throughput sequencing pipelines. It provides a modular set of analyses which you can use to give a quick impression of whether your data has any problems of which you should be aware before doing any further analysis.
@@ -150,7 +177,7 @@ Merge the salmon quantification *transcript* results for all samples of same seq
@@ -150,7 +177,7 @@ Merge the salmon quantification *transcript* results for all samples of same seq
-n 3 search for all the given adapter sequences repeatedly, either until no adapter match was found or until 3 rounds have been performed.
@@ -160,13 +187,13 @@ Merge the salmon quantification *transcript* results for all samples of same seq
@@ -160,13 +187,13 @@ Merge the salmon quantification *transcript* results for all samples of same seq
**Parameters:** Adapters to be removed, specified by user in the columns 'fq1_polya', 'fq2_polya', respectively.
--match-read-wildcards This option is used to allow matching wildcard characters also within reads, because if no tail should be trimmed "XXXXXX" is specified in the samples table, which doesn't match any nucleotides, and thus nothing will be done here.
-n 2 search for all the given adapter sequences repeatedly, either until no adapter match was found or until 2 rounds have been performed.
@@ -179,9 +206,7 @@ Here, cutadapt is used to remove poly(A) tails.
@@ -179,9 +206,7 @@ Here, cutadapt is used to remove poly(A) tails.
@@ -207,14 +232,7 @@ Spliced Transcripts Alignment to a Reference
@@ -207,14 +232,7 @@ Spliced Transcripts Alignment to a Reference
Index the genomic alignment with [samtools index](http://quinlanlab.org/tutorials/samtools/samtools.html#samtools-index). Indexing a genome sorted BAM file allows one to quickly extract alignments overlapping particular genomic regions. Moreover, indexing is required by genome viewers such as IGV so that the viewers can quickly display alignments in each genomic region to which you navigate.
[Salmon](https://salmon.readthedocs.io/en/latest/salmon.html) is a tool for wicked-fast transcript quantification from RNA-seq data.
@@ -246,7 +264,7 @@ Needed for TIN score calculation and bedgraph coverage calculation.
@@ -246,7 +264,7 @@ Needed for TIN score calculation and bedgraph coverage calculation.
@@ -254,18 +272,3 @@ Needed for TIN score calculation and bedgraph coverage calculation.
@@ -254,18 +272,3 @@ Needed for TIN score calculation and bedgraph coverage calculation.
\ No newline at end of file