Code Monkey home page Code Monkey logo

Comments (12)

litaifang avatar litaifang commented on June 3, 2024

As long as the files are being created, those error messages are just for variants in the random_.bed file that don't make it into the final synthetic_.vcf files (i.e., variants attempted but did not make into the final synthetic bam file).
For details about bamsurgeon, you should contact its author https://github.com/adamewing/bamsurgeon. I've just created some run scripts for it.

from somaticseq.

cbiitbian avatar cbiitbian commented on June 3, 2024

from somaticseq.

litaifang avatar litaifang commented on June 3, 2024

You probably need to either re-write the .sh scripts associated with bamsurgeon or create your own bam mutation pipelines. We didn't really mean to create a comprehensive bamsurgeon feature set.

from somaticseq.

cbiitbian avatar cbiitbian commented on June 3, 2024

from somaticseq.

litaifang avatar litaifang commented on June 3, 2024

Not really. If you sequence the same genome twice, there will be differences between them, including sequencing errors and different reads. Some of the differences will be called as mutations (false positives), so the machine learning model can learn them.
If the same bam file is used, there is no difference between them, so there will be no false positive call.

from somaticseq.

cbiitbian avatar cbiitbian commented on June 3, 2024

from somaticseq.

cbiitbian avatar cbiitbian commented on June 3, 2024

from somaticseq.

litaifang avatar litaifang commented on June 3, 2024

Sounds like things are fine. If the synthetic_XXX.vcf are not empty, it means those variants were created in the reads.
In the .sh script, there is a default number of indels. If you want no indel, you would have to explicitly have the parameter --num-indels 0.

from somaticseq.

cbiitbian avatar cbiitbian commented on June 3, 2024

from somaticseq.

litaifang avatar litaifang commented on June 3, 2024

Wondering if the bam files you used to spike SNVs are WXS files with broad_MDA_mocha_overlap_cds.bed as the regions? If you use a single pair of WEX while spiking in 30,000 SNVs, the synthetic tumor-normal pairs aren't going to have the "right ratio of true positives and false positives."
I think a more optimal way is to spike in a few thousand into each pair of synthetic WEX data sets, but increase the number of synthetic BAM files, in order to have enough true positives but also enough false positives to have enough training data.

For details of neusomatic, contact https://github.com/bioinform/neusomatic.

from somaticseq.

cbiitbian avatar cbiitbian commented on June 3, 2024

from somaticseq.

litaifang avatar litaifang commented on June 3, 2024

I meant if you want to create 30,000 SNVs for training, you shouldn't create them in a single pair of WXS data set, but rather combine a number of WXS sets. Yes, and then merge them into one.

from somaticseq.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.