Last active
December 27, 2016 06:47
-
-
Save mbk0asis/c5f7d318739f7ef48945093cd0755aef to your computer and use it in GitHub Desktop.
findSNV.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| cat $1 $2 | muscle |fasta_formatter | paste - - - - | cut -f 1,2,4 | sed 's/>M.//g' | |
| cat $1 $2 | muscle -clw | grep "*" | sed 's/^ *//g;s/ /!/g' | tr '\n' ' ' | sed 's/ //g' | grep -bo "!" | tr '\n' ' ' | |
| printf "\n" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment