Closed itsjohncs closed 10 years ago
The alignment strings may be output incorrectly. I have had a very long day, so I will check this first thing in the morning.
The scores seem reasonable based on the string size. If the input strings are not viewable in the repo, could you make it clear what the top input string is that is instead being printed as "A" so I can thoroughly examine the algorithm's run-through?
Thanks, I'll get back to you as soon as I can On Dec 8, 2013 2:11 AM, "John Sullivan" notifications@github.com wrote:
The following is a screenshot of one run-through. I'm not sure what's going on yet but I think the score() function isn't returning the full alignment given that the score is probably not what is shown. Will require more investigation.
@AmateurHour https://github.com/AmateurHour do you have any thoughts on this?
[image: screenshot from 2013-12-08 02 09 44]https://f.cloud.github.com/assets/367832/1700110/e5542642-5ff0-11e3-91e8-e1cabe8631f0.png
— Reply to this email directly or view it on GitHubhttps://github.com/galah-group/141-assignment/issues/17 .
I am looking into the alignment output now. I'm not sure where it's going wrong.
I'll get back to you as soon as I figure out the problem.
On Sun, Dec 8, 2013 at 2:36 AM, Jordan Meyer jmeye006@ucr.edu wrote:
The alignment strings may be output incorrectly. I have had a very long day, so I will check this first thing in the morning.
The scores seem reasonable based on the string size. If the input strings are not viewable in the repo, could you make it clear what the top input string is that is instead being printed as "A" so I can thoroughly examine the algorithm's run-through?
Thanks, I'll get back to you as soon as I can On Dec 8, 2013 2:11 AM, "John Sullivan" notifications@github.com wrote:
The following is a screenshot of one run-through. I'm not sure what's going on yet but I think the score() function isn't returning the full alignment given that the score is probably not what is shown. Will require more investigation.
@AmateurHour https://github.com/AmateurHour do you have any thoughts on this?
[image: screenshot from 2013-12-08 02 09 44]https://f.cloud.github.com/assets/367832/1700110/e5542642-5ff0-11e3-91e8-e1cabe8631f0.png
— Reply to this email directly or view it on GitHubhttps://github.com/galah-group/141-assignment/issues/17 .
Sounds good, I'll be working on things in an hour or so as well. It might just be my output function or main logic, I didn't see anything that would cause it in there though. This might be a tricky bug to hunt down.
yeah I believe it's because the reference is a substring of the query. But I'm not sure why it's messing up. I'm also having a friend who is in charge of his groups' algorithm design look at the algorithm, if you don't mind.
On Sun, Dec 8, 2013 at 11:49 AM, John Sullivan notifications@github.comwrote:
Sounds good, I'll be working on things in an hour or so as well. It might just be my output function or main logic, I didn't see anything that would cause it in there though. This might be a tricky bug to hunt down.
— Reply to this email directly or view it on GitHubhttps://github.com/galah-group/141-assignment/issues/17#issuecomment-30090825 .
I believe I am running the same tests as you did in the screenshot. I used the "our_tiny_query" string as the reference, and each of: Panthera leo isolate 8c cytochrome b gene, complete cds Panthera leo isolate 8a cytochrome b gene, complete cds Panthera leo isolate 5c cytochrome b gene, complete cds
against the "our_tiny_query" and I am getting scores of 41.15, which is 0.2 off the scores you got ( meaning a gap is being counted in your test and not mine), and aligned strings with leading gaps, ex:
(41.15, '
The following is a screenshot of one run-through. I'm not sure what's going on yet but I think the
score()
function isn't returning the full alignment given that the score is probably not what is shown. Will require more investigation.@AmateurHour do you have any thoughts on this?