-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Plotted LD maps to find problem in Cardiogenics
- Loading branch information
Showing
7 changed files
with
141 additions
and
39 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 |
---|---|---|
|
@@ -3,3 +3,4 @@ jobsubs | |
.ipynb_checkpoints | ||
__pycache__ | ||
devtools/cardiogenics_mono_macro | ||
analysis/tejaas_bashnode |
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,33 @@ | ||
# Comparison of different methods in trans-eQTL | ||
|
||
(Currently in development) | ||
|
||
The following methods will be included: | ||
* [x] MatrixEQTL | ||
* [ ] GNetLMM | ||
* [ ] CPMA (implemented as JPA within TEJAAS) | ||
* [ ] TEJAAS | ||
|
||
We also want to compare: | ||
* [ ] effect of different pre-filtering methods | ||
* [ ] kNN | ||
* [ ] effect of sparsity in TEJAAS | ||
|
||
And, finally we plot everything together: | ||
* [ ] Plot | ||
|
||
## Method | ||
We use the gene expression of two different tissues within the same population. | ||
We find trans-eQTLs using different methods, | ||
and then compare the methods using tissue-consistent trans-eQTLs (which are found in both tissues). | ||
|
||
## Input | ||
The pipeline expects the following input files: | ||
* Genotype (in gzipped dosage format) | ||
* Expression (tab-separated text file, gene name in column1, expression for `N` patients in the next `N` columns, header line starting with `gene_id` in first column and sample ids in the next `N` columns) | ||
* Sample (a dummy [sample file in Oxford format](http://www.stats.ox.ac.uk/~marchini/software/gwas/file_format.html)) | ||
|
||
## How to run | ||
1. Update the file paths in `main/PATH`. | ||
2. Create a `CONFIG` file (see example in `configs/CONFIG`). | ||
3. Run the different scripts from within `main` directory. |
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
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 |
---|---|---|
@@ -1,4 +1,6 @@ | ||
#!/bin/bash | ||
|
||
FILE=$1 | ||
for variable in `grep -v -e '^#\|if\|fi' ${FILE} | sed '/^\s*$/d' | cut -d"=" -f1`;do unset $variable; done | ||
for variable in `grep -v -e '^#\|^if\|^fi' ${FILE} | grep -e "=" | sed '/^\s*$/d' | cut -d"=" -f1`; do | ||
unset $variable; | ||
done |
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