Coder Social home page Coder Social logo

Comments (4)

Adamtaranto avatar Adamtaranto commented on June 23, 2024

This issue was raised in issue #11 it is due to file read mode "rU" being removed in Python 3.11

I've fixed this on the main branch of this repo but haven't pushed updates to conda and pypi yet.

In the meantime, clone the repo and do a local pip install like this:
git clone https://github.com/Adamtaranto/teloclip.git && cd teloclip && pip install -e .

Or run in a conda env with an earlier version of Python.

from teloclip.

PengfeiInTuebingen avatar PengfeiInTuebingen commented on June 23, 2024

Thanks for your reply, now it works with test data.
i am using my own data now, I got another issue:
[$]~> teloclip --ref V5.male.fasta.fai male.minimap2.sam
@pg ID:minimap2 PN:minimap2 VN:2.17-r941 CL:minimap2 -ax map-ont /ebio/scratch/fhaas/Ec_nanopore/Ec32/basecall_Ec32_modbase_all_super_V3/pass/Ec32_all.fasta V5.male.fasta
Reference sequence not found in FAI file: 58e481aa-cb3d-418f-9194-fc89512d369e
saying i didn't build index for my genome, actually i build the index(samtools faidx V5.male.fasta), do you have any idea about this?

from teloclip.

Adamtaranto avatar Adamtaranto commented on June 23, 2024

Can you post the contents of your fai index file, and also the headers and first couple of alignments from your sam file.

from teloclip.

PengfeiInTuebingen avatar PengfeiInTuebingen commented on June 23, 2024

Thanks a lot. I found an issue with my script, and now I have solved it. Thank you so much for the promotion!!!

from teloclip.

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.