-
Notifications
You must be signed in to change notification settings - Fork 34
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
Kind of CIGAR #93
Comments
Since this issue is focused on the parasail python bindings it might have been better to file the issue there. The decode method is part of the cigar object in the python bindings. For example: >>> import parasail
>>> result = parasail.sw_trace("asdf", "asdf", 10, 1, parasail.blosum62)
>>> print(result.cigar.seq)
[71]
>>> print(result.cigar.decode)
b'4=' |
Cool! I see. Thanks!
I did not get the idea of CIGAR referring to traceback until your answer.
if this would have happened, I would have found it in the straight
documentation for this case...:
https://github.com/jeffdaily/parasail-python#tracebacks
Am Mo., 14. Feb. 2022 um 18:46 Uhr schrieb Jeff Daily <
***@***.***>:
… Since this issue is focused on the parasail python bindings it might have
been better to file the issue there.
The decode method is part of the cigar object in the python bindings. For
example:
>>> import parasail>>> result = parasail.sw_trace("asdf", "asdf", 10, 1, parasail.blosum62)>>> print(result.cigar.seq)
[71]>>> print(result.cigar.decode)b'4='
—
Reply to this email directly, view it on GitHub
<#93 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALCOE7P3YT77BI73CQHOUP3U3E5XNANCNFSM5OF4A7DA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I get with the python binding with pyssw an integer array for the Cigar with few elements depending on gaps in the alignment as the struct for the cigar is defined.
But shouldn't it be a string with the defined diff format or is there some explanation for the encoding? Or is the
char* parasail_cigar_decode(parasail_cigar_t *cigar);
function missing in the python bindings?The text was updated successfully, but these errors were encountered: