Giter VIP home page Giter VIP logo

Comments (7)

endrebak avatar endrebak commented on July 30, 2024

Do you know the relevant functions in pysam? I’ll look into it. Thanks for the suggestion.

from bamread.

timodonnell avatar timodonnell commented on July 30, 2024

I haven't looked at your code but if you are using AlignedSegment, then query_sequence should give it to you https://pysam.readthedocs.io/en/latest/api.html#pysam.AlignedSegment.query_sequence

from bamread.

endrebak avatar endrebak commented on July 30, 2024

I'll look into it. Will probably have lots of time Monday 👍

from bamread.

timodonnell avatar timodonnell commented on July 30, 2024

Noticed that this was just a one line change, so I just submitted a PR now #4

from bamread.

endrebak avatar endrebak commented on July 30, 2024

Here is some code that needs changing too: https://github.com/pyranges/bamread/blob/master/bamread/src/bamread.pyx

I'll do it, but do you have an example bam I could use?

from bamread.

timodonnell avatar timodonnell commented on July 30, 2024

I don't think anything else needs changing. I've been using the branch with my PR to read in sequences without any other changes. Here's an example BAM, in case it's helpful: https://github.com/openvax/varlens/blob/master/test/data/rna_chr17_41244936.bam

from bamread.

endrebak avatar endrebak commented on July 30, 2024

Looking at this now. I've had lots to do - sorry for being tardy!

from bamread.

Related Issues (7)

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.