evolbioinfo / goalign

Goalign is a set of command line tools and an API to manipulate multiple sequence alignments. It is implemented in Go language.
GNU General Public License v2.0
71 stars 8 forks source link

goalign tranpose #9

Closed tseemann closed 2 years ago

tseemann commented 3 years ago

I am not sure if this can be done with existing comamnd:

% cat in.afa
>seq1
AAAA
>seq2
CCTT
>seq3
ACGT

% goalign transpose < in.afa 

>1
ACA
>2
ACC
>3
ATG
>4
ATT

% goalgn transpose -v 

# go from transposed back to alignment
fredericlemoine commented 3 years ago

I added goalign transpose command (see doc), available in this pre-release. Let me know if it helps.