To randomly generate a list of insertions and deletions
1
0
Entering edit mode
4 months ago
xmy1990 • 0

Hi, I want to get many random insertions and deletions of specified sizes. For example, 10 insertions with size between 20bp and 30 bp 10 deletions with size between 20bp and 30 bp

How to randomly generate them with chrom, pos, start, end, ref, alt ?

Thanks!

si • 587 views
ADD COMMENT
1
Entering edit mode

What is your input and output data?

A genome in FASTA format and you want to end up with another genome as in FASTA format with the mutations?

ADD REPLY
0
Entering edit mode

Thanks,

input: hs37d5.fa, sizes of insertions and deletions

output: #CHROM POS ID REF ALT

such as,

chr1    1147985    C       CCAGCCCCTCCCAGCCCCTGGCCCCTCTGCCCCCTCA 
chr1    3319601    ACCCTCCTCTGAGTCTTCCTCCCCTTCCCGTG        A 

Are there any ready-made tools that can do this?

Thanks

ADD REPLY
2
Entering edit mode
4 months ago

There is a tool called simuG that has many options that seem to include what you are after:

ADD COMMENT
0
Entering edit mode

Thanks,

I have used https://github.com/yjx1217/simuG to do randomly generate a list of insertions and deletions.

ADD REPLY

Login before adding your answer.

Traffic: 2008 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6