Skip to content

Instantly share code, notes, and snippets.

@nylander
Created April 29, 2020 20:18
Show Gist options
  • Save nylander/c2d4a130a7594d8704677f328ab95aec to your computer and use it in GitHub Desktop.
Save nylander/c2d4a130a7594d8704677f328ab95aec to your computer and use it in GitHub Desktop.
Example data of type "restriction" for MrBayes
#NEXUS
[Data from Table 1, Felsenstein, 1992, Evolution, 46(1),1992, pp. 159-173.]
Begin data;
Dimensions ntax=5 nchar=122;
Format datatype=restriction missing=?;
Matrix
Gibbon 11100000110001000010100111100000011100100100111110000001010001100100000000010000011010100111100011011010111111101101011001
Orang 11010110100111000000011000101010010000010101010010001000101000000011000000000010000111001110001000110011101001000111001110
Gorilla 11000101101001010111000001100001110011000000000010100000110100110001011000101011000010000101110000110000101101010110101000
Chimp 10000110100011111010000001000100110010101000000011000111100010110000100110000011100010001101100000110100001001010110111000
Human 11001100100011000100010101110000110000000010000011010001100010101001000001100110010010011101000100111000101101010111001000
;
End;
@nylander
Copy link
Author

Easy download:

wget -O "restriction.nex" "https://tinyurl.com/y9bqkcd5"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment