Code Monkey home page Code Monkey logo

Comments (2)

TransGirlCodes avatar TransGirlCodes commented on June 18, 2024

BioSequence{DNAAlphabet{2}} does not allow gaps but BioSequence{DNAAlphabet{4}} does. Why do you want gaps for paired end reads?

I do have a plan for dealing with reads in a better manner - especially for assembly and mapping: I'm going to implement "read-datastores", which can be built using FASTQ files, and act as efficient binary datastores for read datasets - reusable for all BioJulia projects. When we have those, it might be cool to have some kind of type like PairedReads, or even just Pair{DNASequence,DNASequence}. After we have PE I'll look at getting us Long Reads (PacBio and Nanopore) and TaggedReads (10X) datastores. For paired reads I don't know if I would use gaps. I think I would just map the two reads from a pair to the graph individually, if everything (reads + graph) make sense, then we would expect the two reads to map nearby to each other in the graph, and we would expect the distance between them to be close to the average insert size of the library that was prepared for sequencing.

from biosequences.jl.

ardakdemir avatar ardakdemir commented on June 18, 2024

My initial plan was to embed the average insert size information to a paired-end read by putting gaps between the two reads. For now, I also represent paired-end reads as a tuple (sequence1,sequence2,expected insert size). I think the approach you describe is more clean than inserting gaps which would take unnecessary space.

from biosequences.jl.

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.