Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SAM.Reader file format error #20

Open
lcmmichielsen opened this issue Oct 5, 2018 · 0 comments
Open

SAM.Reader file format error #20

lcmmichielsen opened this issue Oct 5, 2018 · 0 comments

Comments

@lcmmichielsen
Copy link

I'm trying to use the bioalignments sam reader to read the alignments in a file created by Minimap2. This file looks like a 'normal' sam file, but I still get the following error:

BioAlignments.SAM.Reader file format error on line 1536 ~>"\t*\n"

Line 1536 is the first line in the file that contains an alignment.

I am using the following code and the error occurs on line 4:

    reader = SAM.Reader(open(samfile,"r"))
    record = SAM.Record()
    while !eof(reader)
            read!(reader, record)
    end
@CiaranOMara CiaranOMara transferred this issue from BioJulia/BioAlignments.jl Jul 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant