-
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.
- Loading branch information
Showing
10 changed files
with
290 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
|
||
##################### | ||
file1=merged | ||
inputPath=4a_keptPeaks | ||
|
||
out=10a_cis_permutation.optimize.peaks | ||
mkdir $out | ||
|
||
|
||
out1=$out/1.0 | ||
mkdir -p $out1 | ||
QTLtools cis --vcf 0_BAM/Phenotype_Genotype/BA9_samples.MAF15.vcf.gz --bed $inputPath/$file1.sorted.bed.gz \ | ||
--permute 1000 --std-err --out $out1/$file1.permutation.txt --log $out1/$file1.Log > $out1/$file1.runLog.txt 2>&1 | ||
|
||
|
||
out1=$out/onlyKnown | ||
mkdir -p $out1 | ||
QTLtools cis --vcf 0_BAM/Phenotype_Genotype/BA9_samples.MAF15.vcf.gz --bed $inputPath/$file1.sorted.bed.gz --cov PCA_PEER/BA9.knownFactors.all.txt \ | ||
--permute 1000 --std-err --out $out1/$file1.permutation.txt --log $out1/$file1.Log > $out1/$file1.runLog.txt 2>&1 | ||
|
||
|
||
for n in $(seq 1 3); do | ||
out1=$out/1.$n | ||
mkdir -p $out1 | ||
QTLtools cis --vcf 0_BAM/Phenotype_Genotype/BA9_samples.MAF15.vcf.gz --bed $inputPath/$file1.sorted.bed.gz --cov 7a_Peaks_Factors/PCA/PCA.$n.txt \ | ||
--permute 1000 --std-err --out $out1/$file1.permutation.txt --log $out1/$file1.Log > $out1/$file1.runLog.txt 2>&1 | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
|
||
##################### | ||
file1=merged | ||
inputPath=4a_keptPeaks | ||
|
||
out=10a_cis_permutation.optimize.peaks | ||
|
||
for n in $(seq 4 8); do | ||
out1=$out/1.$n | ||
mkdir -p $out1 | ||
QTLtools cis --vcf 0_BAM/Phenotype_Genotype/BA9_samples.MAF15.vcf.gz --bed $inputPath/$file1.sorted.bed.gz --cov 7a_Peaks_Factors/PCA/PCA.$n.txt \ | ||
--permute 1000 --std-err --out $out1/$file1.permutation.txt --log $out1/$file1.Log > $out1/$file1.runLog.txt 2>&1 | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
|
||
##################### | ||
file1=merged | ||
inputPath=4a_keptPeaks | ||
|
||
out=10a_cis_permutation.optimize.peaks | ||
|
||
|
||
for n in $(seq 9 12); do | ||
out1=$out/1.$n | ||
mkdir -p $out1 | ||
QTLtools cis --vcf 0_BAM/Phenotype_Genotype/BA9_samples.MAF15.vcf.gz --bed $inputPath/$file1.sorted.bed.gz --cov 7a_Peaks_Factors/PCA/PCA.$n.txt \ | ||
--permute 1000 --std-err --out $out1/$file1.permutation.txt --log $out1/$file1.Log > $out1/$file1.runLog.txt 2>&1 | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
|
||
##################### | ||
file1=merged | ||
inputPath=4a_keptPeaks | ||
|
||
out=10a_cis_permutation.optimize.peaks | ||
|
||
|
||
for n in $(seq 13 16); do | ||
out1=$out/1.$n | ||
mkdir -p $out1 | ||
QTLtools cis --vcf 0_BAM/Phenotype_Genotype/BA9_samples.MAF15.vcf.gz --bed $inputPath/$file1.sorted.bed.gz --cov 7a_Peaks_Factors/PCA/PCA.$n.txt \ | ||
--permute 1000 --std-err --out $out1/$file1.permutation.txt --log $out1/$file1.Log > $out1/$file1.runLog.txt 2>&1 | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
|
||
##################### | ||
file1=merged | ||
inputPath=4a_keptPeaks | ||
|
||
out=10a_cis_permutation.optimize.peaks | ||
|
||
for n in $(seq 17 20); do | ||
out1=$out/1.$n | ||
mkdir -p $out1 | ||
QTLtools cis --vcf 0_BAM/Phenotype_Genotype/BA9_samples.MAF15.vcf.gz --bed $inputPath/$file1.sorted.bed.gz --cov 7a_Peaks_Factors/PCA/PCA.$n.txt \ | ||
--permute 1000 --std-err --out $out1/$file1.permutation.txt --log $out1/$file1.Log > $out1/$file1.runLog.txt 2>&1 | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
|
||
##################### | ||
file1=merged | ||
inputPath=4b_keptGenes | ||
|
||
out=10b_cis_permutation.optimize.genes | ||
mkdir $out | ||
|
||
|
||
out1=$out/1.0 | ||
mkdir -p $out1 | ||
QTLtools cis --vcf 0_BAM/Phenotype_Genotype/BA9_samples.MAF15.vcf.gz --bed $inputPath/$file1.sorted.bed.gz \ | ||
--permute 1000 --std-err --out $out1/$file1.permutation.txt --log $out1/$file1.Log > $out1/$file1.runLog.txt 2>&1 | ||
|
||
|
||
out1=$out/onlyKnown | ||
mkdir -p $out1 | ||
QTLtools cis --vcf 0_BAM/Phenotype_Genotype/BA9_samples.MAF15.vcf.gz --bed $inputPath/$file1.sorted.bed.gz --cov PCA_PEER/BA9.knownFactors.all.txt \ | ||
--permute 1000 --std-err --out $out1/$file1.permutation.txt --log $out1/$file1.Log > $out1/$file1.runLog.txt 2>&1 | ||
|
||
|
||
for n in $(seq 1 3); do | ||
out1=$out/1.$n | ||
mkdir -p $out1 | ||
QTLtools cis --vcf 0_BAM/Phenotype_Genotype/BA9_samples.MAF15.vcf.gz --bed $inputPath/$file1.sorted.bed.gz --cov 7a_Peaks_Factors/PCA/PCA.$n.txt \ | ||
--permute 1000 --std-err --out $out1/$file1.permutation.txt --log $out1/$file1.Log > $out1/$file1.runLog.txt 2>&1 | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
|
||
##################### | ||
file1=merged | ||
inputPath=4b_keptGenes | ||
|
||
out=10b_cis_permutation.optimize.genes | ||
|
||
for n in $(seq 4 8); do | ||
out1=$out/1.$n | ||
mkdir -p $out1 | ||
QTLtools cis --vcf 0_BAM/Phenotype_Genotype/BA9_samples.MAF15.vcf.gz --bed $inputPath/$file1.sorted.bed.gz --cov 7a_Peaks_Factors/PCA/PCA.$n.txt \ | ||
--permute 1000 --std-err --out $out1/$file1.permutation.txt --log $out1/$file1.Log > $out1/$file1.runLog.txt 2>&1 | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
|
||
##################### | ||
file1=merged | ||
inputPath=4b_keptGenes | ||
|
||
out=10b_cis_permutation.optimize.genes | ||
|
||
for n in $(seq 9 12); do | ||
out1=$out/1.$n | ||
mkdir -p $out1 | ||
QTLtools cis --vcf 0_BAM/Phenotype_Genotype/BA9_samples.MAF15.vcf.gz --bed $inputPath/$file1.sorted.bed.gz --cov 7a_Peaks_Factors/PCA/PCA.$n.txt \ | ||
--permute 1000 --std-err --out $out1/$file1.permutation.txt --log $out1/$file1.Log > $out1/$file1.runLog.txt 2>&1 | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
|
||
##################### | ||
file1=merged | ||
inputPath=4b_keptGenes | ||
|
||
out=10b_cis_permutation.optimize.genes | ||
|
||
for n in $(seq 13 16); do | ||
out1=$out/1.$n | ||
mkdir -p $out1 | ||
QTLtools cis --vcf 0_BAM/Phenotype_Genotype/BA9_samples.MAF15.vcf.gz --bed $inputPath/$file1.sorted.bed.gz --cov 7a_Peaks_Factors/PCA/PCA.$n.txt \ | ||
--permute 1000 --std-err --out $out1/$file1.permutation.txt --log $out1/$file1.Log > $out1/$file1.runLog.txt 2>&1 | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
|
||
##################### | ||
file1=merged | ||
inputPath=4b_keptGenes | ||
|
||
out=10b_cis_permutation.optimize.genes | ||
|
||
for n in $(seq 17 20); do | ||
out1=$out/1.$n | ||
mkdir -p $out1 | ||
QTLtools cis --vcf 0_BAM/Phenotype_Genotype/BA9_samples.MAF15.vcf.gz --bed $inputPath/$file1.sorted.bed.gz --cov 7a_Peaks_Factors/PCA/PCA.$n.txt \ | ||
--permute 1000 --std-err --out $out1/$file1.permutation.txt --log $out1/$file1.Log > $out1/$file1.runLog.txt 2>&1 | ||
done | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|