Skip to content

Commit

Permalink
speed improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhongli Jiang committed May 1, 2022
1 parent 62e2bd4 commit 7e54c14
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions script/cis-eQTL/cis-SNPs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ awk -f low.snps.idx < $geno 1>low.Geno.data 2>err_low &
awk -f common.snps.idx < $geno 1>common.Geno.data 2>err_common &

### SNP position (chr#, SNP pos)
awk '{print $1,$4}' $snps_map > all.SNPpos
awk '{print $1,$4}' rare.Geno.map > rare.SNPpos
awk '{print $1,$4}' low.Geno.map > low.SNPpos
awk '{print $1,$4}' common.Geno.map > common.SNPpos
awk '{print $1,$4}' $snps_map > all.SNPpos &
awk '{print $1,$4}' rare.Geno.map > rare.SNPpos &
awk '{print $1,$4}' low.Geno.map > low.SNPpos &
awk '{print $1,$4}' common.Geno.map > common.SNPpos &

Rscript $SIGNET_SCRIPT_ROOT/cis-eQTL/rare.cispair.r "upstream='$upstream'" "downstream='$downstream'"
Rscript $SIGNET_SCRIPT_ROOT/cis-eQTL/common.cispair.r "upstream='$upstream'" "downstream='$downstream'"
Rscript $SIGNET_SCRIPT_ROOT/cis-eQTL/low.cispair.r "upstream='$upstream'" "downstream='$downstream'"
Rscript $SIGNET_SCRIPT_ROOT/cis-eQTL/rare.cispair.r "upstream='$upstream'" "downstream='$downstream'" &
Rscript $SIGNET_SCRIPT_ROOT/cis-eQTL/common.cispair.r "upstream='$upstream'" "downstream='$downstream'" &
Rscript $SIGNET_SCRIPT_ROOT/cis-eQTL/low.cispair.r "upstream='$upstream'" "downstream='$downstream'" &

0 comments on commit 7e54c14

Please sign in to comment.