obtain a simulated bam file for variants on existed bam file
2
1
Entering edit mode
9.1 years ago
J.F.Jiang ▴ 930

Hi all,

I constructed the variant calling pipeline for BAM file. However, when it was applied to positive samples, I did not find any well-known variants in the VCF file. What I am considering is that there might be less-sensitive method in my pipeline.

So I want to create a simulated BAM file based on the existed bam, just change the reads in the bam to create a variant, etc., rs6071.

Is there any convenient tool to do such, and also can I obtain a depth-aimed bam? For example, depth for alleles, A:G, 500:500, OR A:G, 800:200.

Thanks

simulated variant bam • 3.8k views
ADD COMMENT
1
Entering edit mode
9.1 years ago
h.mon 35k

BAMSurgeon seems to be able to do what you want (and much more).

ADD COMMENT
0
Entering edit mode

Exactly what I am looking for though bugs are still in this program needing debug

ADD REPLY
0
Entering edit mode
9.1 years ago

extract the region of interest as fasta, add manually the mutation, run wgsim to create a set of fastq and map those fastqs using your pipeline.

ADD COMMENT
0
Entering edit mode

Thanks, wgsim can works fine to simulate a set of fastq with mutations, however, the program will randomly select mutation site in the given intervals. What I want to is to mutate the specific site, and can change the alleles depth seperately.

ADD REPLY
0
Entering edit mode

Hi,

Where you able to perform this task. if so can you please let us know

ADD REPLY
0
Entering edit mode

Are you aware you are resurrecting a four-years old thread?

Did you read the manual and tried to use BAMSurgeon? In this case, did you run into any problems in running BAMSurgeon?

ADD REPLY

Login before adding your answer.

Traffic: 1995 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