Giter Site home page Giter Site logo

deploid-bestpractices-github-actions's People

Contributors

shajoezhu avatar

Watchers

 avatar  avatar

deploid-bestpractices-github-actions's Issues

run script

#!/bin/bash
dataDir="~/dEploidPaper/deconv/"
root="/well/mcvean/joezhu/DEploid-Lasso-Benchmark/"
function run_dEploid {
mkdir ${root}"dEploidOut/"${sample}
cd ${root}"dEploidOut/"${sample}
#rm -r ErrFiles OutFiles
mkdir ErrFiles OutFiles

echo "
#!/bin/bash
#$ -cwd
#$ -V
#$ -P mcvean.prjc -q short.qc
#$ -e ErrFiles
#$ -o OutFiles
#$ -N ${sample}Ex
#$ -t 1-30

plaf=${dataDir}labStrains.eg.PLAF.txt
excludeAt=${dataDir}exclude.txt
vcf=${dataDir}${sample}.vcf.gz

panel=${root}combined_pf3k_field_panel_withcross_withparent.txt

for vqslod in $(seq 8 11); do
prefix=${sample}_fieldwithcross_withparent_vqslod${vqslod}_seed${SGE_TASK_ID}k$@
common="-vcf ${vcf} -plaf ${plaf} -exclude ${excludeAt} -o ${prefix}"
dEploidCommon="${common} -seed ${SGE_TASK_ID} -nSample 500 -rate 8 -burn 0.67 -sigma 1.6 -vqslod ${vqslod}"
rCommon="${common} -dEprefix ${prefix}"

time dEploid ${dEploidCommon} -panel ${panel} -ibd -k $@

&> ${root}/dEploidOut/${sample}/${prefix}.time

./interpretDEploid.r ${rCommon}
done

" > ${sample}_fieldk$@.sh
qsub ${sample}_fieldk$@.sh
}

while read sample ; do
run_dEploid 3
run_dEploid 4
done < labSampleNames

vqslod

for i in $(seq 1 1 14); do bcftools view -f "PASS" --include 'VQSLOD &gt; 5' PG0389-C.wg.vcf.gz | grep -v "#" | grep Pf3D7_$(printf %02d $i)_v3 | wc -l; done

Run times

18000 sites

-noPanel 2 mins
Panel with size of 4, 3mins
-ibd 15 mins
All above times 15 times

-best only k

-best only p

-best
7 mins (sd. ) once

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.