run_WES_Copy_L1.pbs 651 B

12345678910111213141516171819202122
  1. #!/bin/sh
  2. #PBS -N Result_Copy
  3. #PBS -j oe
  4. #PBS -l ncpus=8
  5. #PBS -l nodes=1
  6. #PBS -l mem=10G
  7. set -e
  8. sams=(`cut -f1 $sam_list`)
  9. echo "Samples:" ${sams[*]}
  10. echo $script_dir
  11. sh $script_dir/module/run_Copy_Result.sh -l $sam_list -o $out_dir -x $script_dir -c $cnv_dir -r $res_dir
  12. sh $script_dir/module/run_keyan.sh -l $sam_list -o $out_dir -x $script_dir -c $cnv_dir -r $res_dir
  13. cd $cnv_dir
  14. sh $script_dir/module/run_check_sex.sh $samplesheet
  15. cd $out_dir/log && touch WES.finished
  16. prefix=`basename $out_dir`
  17. cd $out_dir
  18. sh $script_dir/module/run_summary.sh $prefix
  19. ## ziyue-pair
  20. sh $script_dir/module/run_ziyue_V2.sh -o $out_dir -r $res_dir -x $script_dir