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

Can not use bed track with glactools bam2acf #16

Open
zhujack opened this issue Jul 22, 2020 · 1 comment
Open

Can not use bed track with glactools bam2acf #16

zhujack opened this issue Jul 22, 2020 · 1 comment

Comments

@zhujack
Copy link

zhujack commented Jul 22, 2020

Hi,

Thanks for the grear program. It looks like I cannot use bed track with glactools bam2acf:

$ glactools bam2acf --bed $bed $ref_fa $bam test | glactools view - | cut -f 1-3,6

The last 3 arguments are
Error: GlacParser tried to read 4 bytes but got 0

But, I can run it without a bed track. My bed track looks like this:

1 11204715 11204717
17 7578460 7578461
17 15978895 15978897

Thanks,

Jack

@grenaud
Copy link
Owner

grenaud commented Jul 23, 2020

Hi Jack,
There was a bug due to an omission to increment a counter. A single line did the trick. I have also added a test case using the --bed option to make sure it behaves. Let me know if this fixes your problem. Feel free to close the issue if that is the case.

Gabriel

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

2 participants