5
votes
Accepted
Convert Symmetrix Matrix into Lower Triangular Matrix
NumPy has a convenient built-in function for accessing the lower-triangular or upper-trianglar entries of an array.
To get the lower-triangular entries, you can use ...
1
vote
Converting .tsv to .meg for visualization
Note, its a while since I've used scipy and I don't fancy loading an deleting for this test ... so in the absence of pdist() the ...
M__♦
- 13k
1
vote
MEGA11 gives the error "stop codons are found in the translated sequences", even though there are not!
The solution is very simply, MegaX will not allow any stop codons within the "translated" sequence. The reason is simple
MEGAX's function is phylogenetic models with nucleotide or protein ...
M__♦
- 13k
1
vote
Convert Symmetrix Matrix into Lower Triangular Matrix
There seems to be a scipy method that retains the lower triangle but with the 0s. See: https://docs.scipy.org/doc/scipy/reference/generated/scipy.sparse.tril.html#scipy.sparse.tril
1
vote
Accepted
MegaX Pairwise Matrix Error
Criteria, matrix. There must be a blank line between the last sample name and the start of the matrix. Also better to use #mega.
The tree from the matrix in the question is.
It's simply the carriage ...
M__♦
- 13k
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
megax × 5format-conversion × 2
codon × 2
distance-matrix × 2
phylogenetics × 1
k-mer × 1
errors × 1
kegg × 1
multiple-sequence-alignment × 1
pairwise × 1
scipy × 1