Created
September 26, 2017 07:16
-
-
Save johnsolk/a6d11bea435836f7cc4ff536da2cb1ed to your computer and use it in GitHub Desktop.
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
#replace IUPAC ambiguous characters in all fasta files in a directory | |
for i in $(ls *.fa); do sed -i -e 's/[YRWSKMDVHBX]/N/g' $i; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment