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

Bug in isBedQuerynameSorted() #33

Open
kridsadakorn opened this issue Oct 9, 2020 · 0 comments
Open

Bug in isBedQuerynameSorted() #33

kridsadakorn opened this issue Oct 9, 2020 · 0 comments

Comments

@kridsadakorn
Copy link

kridsadakorn commented Oct 9, 2020

Hi,

I tried to use snap_pre to create snap object from BED files.

However, it always reports as error: ./test.bed is not a sorted by read name!, even I have sorted them.

I see that, in the code of the function isBedQuerynameSorted(), at line 166

cur_barcode = str(item).split()[3];

, perhaps this line is wrong, and it causes the error.

Should the string be split the same way as in the function getBarcodesFromBed(input_bed), line 256?

barcode = _read.split()[3].split(":")[0].upper();

Please check. Thank you very much.

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