Last active
October 12, 2015 04:08
-
-
Save carlosp420/3968307 to your computer and use it in GitHub Desktop.
remove rate parameter of trees from BEAST runs
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
egrep '\[?\&?\w+\.rate=[0-9]{1,3}\.[0-9]{1,20}E?-?[0-9]{0,4},?\]?' | |
sed -e 's/\[\?&\?\w\+\.\w\+\.\?rate=[0-9]\{1,3\}\.[0-9]\{1,20\}E\?-\?[0-9]\{0,4\},\?\]\?//g' tree_file.tree > slim_tree_file.tree | |
sed -r 's/\[?&?\w+\.rate=[0-9]{1,3}\.[0-9]{1,20}E?-?[0-9]{0,4},?\]?//g' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment