Skip to content

Commit

Permalink
add wait command
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhongli Jiang committed May 1, 2022
1 parent 7e54c14 commit 92fc3e2
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions script/cis-eQTL/cis-SNPs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@ 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'" &
wait

0 comments on commit 92fc3e2

Please sign in to comment.