gravatar for mbk0asis

2 hours ago by

Korea, Republic Of

Hi, all!

I'm trying to generate mutant sequence based on the type as shown on the far right column of example data below.

transcript  position    mutation    type    WT.seq  MUT.seq
trx1    5   A>G substitution    AAAAAA  AAAAGA
trx2    3   C>CTT   insert  CCCCCC  CCCTTCCC
trx3    7   TTTT>T  deletion    AAAAAATTTT  AAAAAAT

I managed to generate 'Substitution' mutants, but I've got no clue how to make INDEL sequences.
Can someone help me solve this?

R, Python, bash, or etc.
Any language would be find~

Thank you!


modified 1 hour ago

2 hours ago


Source link