Entering edit mode
I import data from JSON file which contain squence names and DNA sequences, and other things. How do I make multisequence alignment, extracts positions that has SNPs (flanking each end of a SNP with some character, 'N' or '-' for easy differentiation), and visual the alignment in a graph (i.e. ggplot)?
msa
(clsutalW) is sluggish. For now I subset alignment from the aligned fasta file which as aligned withmafft
outside. Tried several papckages but wrapper formafft
is not straight to use.You are correct about new SNPs. I
The 'msa' package also supports ClustalOmega and MUSCLE (as said, you can use the
method
argument to select one of the three algorithms). If you use a different algorithm outside of R/Bioconductor anyway (mafft, as you mentioned), then I suppose that R/Bioconductor would not be of great help to you.