Skip to content

Commit

Permalink
Update common.ciseQTL.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangdb authored May 20, 2022
1 parent 5b6d97d commit 3387272
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions script/cis-eQTL/common.ciseQTL.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#!/bin/bash
cd $SIGNET_TMP_ROOT/tmpc

echo -e "Cis-eQTL Analyis for common variants [alpha:"$alpha"]......\n"
echo -e "Mapping cis-eQTL with common variants [alpha:"$alpha"]...\n"

Rscript $SIGNET_SCRIPT_ROOT/cis-eQTL/common.ciseQTL.r

echo -e "\nSummarizing the result for common variants \n"
echo -e "\nSummarizing the result for common variants...\n"

##select significant ones
Rscript $SIGNET_SCRIPT_ROOT/cis-eQTL/sig.commoncis.r "alpha='$alpha'"
Expand All @@ -17,5 +17,4 @@ wait

nsig=$(awk '{print $2}' ${resc}_common.sig.pValue_${alpha} | sort | uniq | wc -l)
ngene=$(awk '{print $1}' ${resc}_common.sig.pValue_${alpha} | sort | uniq | wc -l)
echo -e "----" $nsig "significant common variants found for "$ngene" genes\n"

echo -e "----" $nsig "significant common variants found for "$ngene" genes!\n"

0 comments on commit 3387272

Please sign in to comment.