Advertisement
ProzacR

deepvariant

Jul 17th, 2018
368
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.65 KB | None | 0 0
  1. #gcr.io/deepvariant-docker/deepvariant
  2. for file in /farmacija.bckup/hg19/chr1.fa
  3. do
  4. echo $file
  5. arrIN=(${file//\// })
  6. echo ${arrIN[2]}
  7. /opt/deepvariant/bin/make_examples --mode calling --ref $file --reads /farmacija.bckup/HKMP-dysl/IonCode_0109_*.bam --examples output.09_${arrIN[2]}.tfrecord
  8. # --regions "chr1:10,000,000-10,010,000"
  9.  
  10. /opt/deepvariant/bin/call_variants --outfile call_variants_output.09_${arrIN[2]}.tfrecord --examples output.09_${arrIN[2]}.tfrecord --checkpoint ../models/model.ckpt
  11.  
  12. /opt/deepvariant/bin/postprocess_variants --ref $file --infile call_variants_output.09_${arrIN[2]}.tfrecord --outfile output.09_${arrIN[2]}.vcf
  13.  
  14. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement