-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master'
- Loading branch information
Showing
16 changed files
with
32,525 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,7 +56,7 @@ docs/_build/ | |
# PyBuilder | ||
target/ | ||
.idea/ | ||
data/ | ||
.data/ | ||
|
||
config.ini | ||
data.ini |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Copyright (c) 2016 Sebastian Proost and Marek Mutwil; Max Planck Institute for Molecular Plant Physiology | ||
|
||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Additional scripts | ||
|
||
Scripts used to perform analyses reported in the LSTrAP manuscript (Proost et al., *under preparation*) are found in | ||
*./helper* | ||
|
||
## htseq_count_stats.py and tophat_stats.py | ||
|
||
These scripts will extract the statistics used to assess the quality of samples. | ||
|
||
python3 htseq_count_stats.py ./path/to/htseq/files > output.txt | ||
python3 tophat_stats.py ./path/to/tophat/output > output.txt | ||
|
||
## pca_powerlaw.py | ||
|
||
Script to perform a PCA analysis on the *Sorghum bicolor* data (case study) and draw the node degree distribution. The | ||
required data is included here as well. Note that this script requires sklearn and seaborn. | ||
|
||
python3 pca_powerlaw.py ./data/sbi.expression.matrix.tpm.txt ./data/sbi_annotation.txt ./data/sbi.power_law.R07.txt | ||
|
||
## get_sra_ip.py | ||
|
||
Script to download runs from [Sequence Read Archive](http://www.ncbi.nlm.nih.gov/sra), requires the Aspera connect | ||
client to be installed and a open ssh key is required (can be obtained from the Apera connect package) | ||
|
||
python3 get_sra_ip.py runs.list.txt ./output/directory /absolute/path/to/opensshkey | ||
## sra_to_fastq.py | ||
|
||
Script to convert sra files into fastq. Sratools is required. | ||
|
||
python3 sra_to_fastq.py /sra/files/directory /fastq/output/directory | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Quality Control | ||
|
||
|
||
## Overview | ||
LSTrAP is designed to process large volumes of RNA Seq data to ultimately construct co-expression networks. However, | ||
while composing a sufficiently large dataset sample not suited to construct such networks might be erroneously included. | ||
To detect those samples and warn users LSTrAP checks two parameters for each sample. The percentage of reads that map | ||
to the genome (reported by TopHat) can be indicative for issues. The figure below shows proper samples (gray circles), | ||
and the majority have very high mapping percentages (y-axis). Samples from species that are not *Arabidopsis thaliana* | ||
have fewer reads mapping. | ||
|
||
 | ||
|
||
Also samples from experiments not designed to determine expression levels might be included, while some of these map | ||
very good to the genome (e.g. whole genome sequencing, non-coding RNA or small RNA studies), the reads don't correspond | ||
to coding genes. This can be seen in the percentage of mapped reads that align with coding genes (reported by | ||
HTSeq-Count). For good samples the median value is roughly 60% while some types of unsuited samples have less. | ||
|
||
Based on this comparison LSTrAP will warn users if samples where less than 65% of the reads map to the genome are | ||
included or samples were less than 40% of the mapped reads are located in coding genes. Samples are *not* automatically | ||
excluded from further analysis as there are (albeit a limited number) of good samples (e.g. single-cell transcriptomics | ||
tend to have fewer reads mapping onto the genome due to mutations introduced during amplificiation steps) that have low | ||
scores for one of these criteria. | ||
|
||
An overview of samples that could have potential problems can be found in *lstrap.log* | ||
|
||
## How to remove spureous samples | ||
|
||
In case *lstrap.log* contains samples that need to be removed, remove the corresponding .htseq file for that sample and | ||
restart the pipeline skipping all previous steps like this: | ||
|
||
./run.py config.ini data.ini --skip-interpro --skip-orthology --skip-bowtie-build --skip-trim-fastq --skip-tophat --skip-htseq --skip-qc |
Oops, something went wrong.