This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Phylogenetic Profile Matrix

Hi all,

How can I get a gene phylogenetic profile matrix which contains present/absent information of genes in a handful of species?

1 answer

You can download one from STRING database.
Choose Download on top and download the file species.mappings.v9.1.txt.gz you can pretty easily generate a matrix from this file.

Hi Asaf, I have downloaded the file you mentioned above, It has 3 columns, but I cann't figure out how to generate the matrix. can you provide some clues to do this?

The first column is taxonomy ID, the second is group of proteins and the third the number of representatives of the group in the genome. You can convert it pretty easily to a matrix form by putting True in the matrix where the TXID and the protein family appear in a row and False otherwise. You should need to program a bit.

I got the idea. what does the third column exactly mean in this table?

Number of representatives of the COG group in the genome

Log in to answer this question.