Guest User

Untitled

a guest
Oct 18th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. # step1: calculate the LDAK weights
  2.  
  3. ldak=./ldak5.linux
  4. bfile=xx
  5.  
  6. $ldak --cut-weights sections --bfile $bfile --no-thin YES
  7. num_sections=$(cat sections/section.number)
  8. qsub -t 1-$num_sections ldak_calc_weights.sh
  9.  
  10. ldak_calc_weights.sh
  11. ```shell
  12. #$ -cwd
  13. #$ -m a
  14. #$ -l h_data=8G,h_rt=0:30:00
  15. #$ -j y
  16. #$ -o ./job_out
  17.  
  18. ldak=./ldak5.linux
  19. bfile=xx
  20.  
  21. $ldak --calc-weights sections --bfile $bfile --section $SGE_TASK_ID
  22. ```
  23. ## After the above finishes
  24. $ldak --join-weights sections --bfile $bfile
  25.  
  26. # step2: calculate tagging based on the weights
  27.  
  28. qsub -t 1-22 ldak_calc_tagging.sh
  29.  
  30. ```shell
  31. #$ -cwd
  32. #$ -m a
  33. #$ -l h_data=10G,h_rt=6:30:00
  34. #$ -j y
  35. #$ -o ./job_out
  36.  
  37.  
  38. ldak=./ldak5.linux
  39. bfile=xxx
  40. $ldak --calc-tagging tagging/sumldak$SGE_TASK_ID --bfile $bfile --weights sections/weights.all --power -0.25 --window-kb 1000 --chr $SGE_TASK_ID --bit-size 2200
  41. ```
  42.  
  43. Then it's done!
Add Comment
Please, Sign In to add comment