Skip to content

Instantly share code, notes, and snippets.

@brantfaircloth
Created August 17, 2017 20:19
Show Gist options
  • Save brantfaircloth/4a2f081f156197c5aded392ce7a9a41f to your computer and use it in GitHub Desktop.
Save brantfaircloth/4a2f081f156197c5aded392ce7a9a41f to your computer and use it in GitHub Desktop.
Convert from paml/mcmctree dates to regular dates
# be sure to remove all of `<paste newick of tree here>`
perl -e'print"<paste newick of tree here>"' | perl -i10 -pe's/\d+\.\d+/$&*$^I/ge'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment