mum_assess.sh 440 B

12345678910111213141516171819202122232425
  1. #!/bin/bash
  2. #
  3. # Author: Jue Ruan
  4. #
  5. REF=$1
  6. CTG=$2
  7. # change this path to your mummer
  8. MUM=/public/software/mummer-323-intel
  9. if [ -z $REF ] || [ -z $CTG ]; then
  10. echo "Usage: $0 <ref> <ctg>"
  11. exit
  12. fi
  13. echo "REF:$REF"
  14. echo "CTG:$REF"
  15. $MUM/nucmer --mumreference -l 100 -c 1000 -d 10 --banded -D 5 $REF $CTG
  16. $MUM/delta-filter -i 95 -o 95 out.delta > out.best.delta
  17. $MUM/dnadiff -d out.best.delta
  18. $MUM/mummerplot out.best.delta --fat -f -png