Asslam u Alikum
I want to remove gaps from multiple sequence alignment , i tried many tools and scripts but it works in different ways.
H= -----ATGCGTACG-TGCA--C
M= ATGCCCGATCGCH----ATC
I want to remove gaps according to reference like if gaps is present in first line (reference) remove that column like this
H= ATGCGTACGTGC
M= CCCGATCGC----C
but different tools remove all gaps columns from whole file. please tell me any idea about it
please check your alignment, your expected output doesn't make any sense. 'M=' should end with 'T'
sorry it just a example both sequence have same lengths sorry again
i want to remove gaps column according to >1 sequence
and what is 'H' here ??? what is the expected output ?
input
HUMAN= --ATGC-C
MOUSE= ATGC--T-
I just a example input, Now i want output like this
HUMAN= ATGCC
MOUSE= GC---
I want to remove gap columns according to reference not between all the file, here human is reference