Skip to content

Commit 90156a8

Browse files
authored
Merge pull request #169 from griffithlab/doc_update
update workflow page with more details
2 parents 9b36bcd + b71d2bf commit 90156a8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/workflow.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,9 @@ for i in samples/*/; do bsub -oo $i/logs/regtools_compare_$tag.lsf regtools cis-
8989
mkdir -p compare_junctions/hist
9090
```
9191

92-
**Run `compare_junctions_hist.py` on sample data**
92+
**Run `stats_wrapper.py` on sample data**
9393

94-
This script compares RegTools associations across all samples in a defined cohort to determine significance. By default, this script divides the input data into chunks of 50,000 variants in order to not max out memory for large cohorts. We provide three options for how to group case vs control groups with respect to a particular event (i.e. which samples do you consider to have the variant of interest vs. those that do not). The options are as follows:
94+
This wrapper script runs `compare_junctions_hist.py` to compare RegTools associations across all samples in a defined cohort to determine significance. By default, this script divides the input data into chunks of 25,000 variants in order to not max out memory for large cohorts. We provide three options for how to group case vs control groups with respect to a particular event (i.e. which samples do you consider to have the variant of interest vs. those that do not). The options are as follows:
9595

9696
1) only samples with exactly the same variant will be included in the case group, all others samples (even potentially those with very similar variants) will be included with the control group (`--variant-grouping=strict`)
9797
2) similar variants will be excluded from both the case and control groups (`--variant-grouping=exclude`)
@@ -102,7 +102,7 @@ This script compares RegTools associations across all samples in a defined cohor
102102
We recommend using `--variant-grouping=exclude` since determining whether nearby variants have a similar effect in terms of splicing consequence is often difficult.
103103

104104
```bash
105-
python3 compare_junctions_hist.py --tag <tag> --variant-grouping <parameter>
105+
python3 stats_wrapper.py -t <tag> -i <input variant file> -d <directory names corresponding to samples> -v <variant grouping parameter>
106106
```
107107

108108
**Run `filter_and_BH.R` to adjust p values and filter results**

0 commit comments

Comments
 (0)