GithubHelp home page GithubHelp logo

Comments (22)

kyrenya avatar kyrenya commented on July 24, 2024 2

working fine!!
image

from tripal_blast.

laceysanderson avatar laceysanderson commented on July 24, 2024 1

Try changing the ending on the file to txt and see if that works?

from tripal_blast.

laceysanderson avatar laceysanderson commented on July 24, 2024 1

Sorry @kyrenya, I don't have a fix yet as I've been having troubles replicating the problem. Which version of PHP are you using?

from tripal_blast.

laceysanderson avatar laceysanderson commented on July 24, 2024 1

Hi @kyrenya, I just pushed a commit fixing this issue. Can you test it and make sure it works for you? Your above solution may end up causing the alignments to not line up.

from tripal_blast.

kyrenya avatar kyrenya commented on July 24, 2024 1

It works! Thx a lot! 👍

from tripal_blast.

laceysanderson avatar laceysanderson commented on July 24, 2024 1

This was introduced for Issue #54 where validation was not really happening... I'm surprised you're running into issues for this though as I just added extensive automated testing for it. I'll add your example to the tests and get back to you ASAP

from tripal_blast.

kyrenya avatar kyrenya commented on July 24, 2024 1

Ok, I just removed completely the tripal_blast module, and git-cloned it again.
No warnings now, and FASTA validated correctly.
I think we can close this by now, I'll go on doing tests tomorrow, got some questions about 'recent jobs' thing and the files saved in the machine, but I will open other issue for that :)

Thanks a lot for your help and for fixing the problem!!

from tripal_blast.

laceysanderson avatar laceysanderson commented on July 24, 2024

Hmmm.... this seems to be related to the query/hit coordinates. Could you provide the BLAST XML for this result so I can debug the problem?

from tripal_blast.

kyrenya avatar kyrenya commented on July 24, 2024

sure!
it happens everytime with all the tests I've done.
uhmm, I cannot upload it, xml is not supported.. alternative?
email?

from tripal_blast.

kyrenya avatar kyrenya commented on July 24, 2024

done! :)
2019Feb07_141328.blast.txt

from tripal_blast.

kyrenya avatar kyrenya commented on July 24, 2024

hi! any update in this? is it anyway possible to avoid the warnings show for some specific role? (i.e. anonymous users) Thanks!

from tripal_blast.

kyrenya avatar kyrenya commented on July 24, 2024

hi There! php 7.2!

from tripal_blast.

kyrenya avatar kyrenya commented on July 24, 2024

so, I know nothing about php, but I'm trying to figure out what is happening with the lines of code regarding to the warnings (92 and 106 of blast_report_alignment_row.tpl.php), trying to figure out is the problem is actually with that script.

if I change the line:
$coord['qstart'] = ($k == 0) ? $q_from : $coord['qstop'] + 1;

for sth like:
$coord['qstart'] = ($k == 0) ? $q_from : 777;

of course in the alignment displays, my query frame start with 777 which is not the ideal thing, but warning about line 92 is removed now, getting only the warning about line 106.
But I have no idea of how to fix the code, in case is this the problem.
Is this helpful at all ? Can you shed some light on it despite you not being able to reproduce the problem?

Thanks a lot in advance.

from tripal_blast.

kyrenya avatar kyrenya commented on July 24, 2024

after some googling,
I added this to the code:

settype($coord['qstart'], "integer");
settype($coord['qstop'], "integer");
settype($coord['hstart'], "integer");
settype($coord['hstop'], "integer");

apparently everything is fine now..

from tripal_blast.

laceysanderson avatar laceysanderson commented on July 24, 2024

Great! 🎉

from tripal_blast.

kyrenya avatar kyrenya commented on July 24, 2024

uhmm, other error arised, it doesnt seem to recognise now the FASTA sequence when its a protein..
I attach screenshot
image

from tripal_blast.

kyrenya avatar kyrenya commented on July 24, 2024

it's weird because before the 'git pull' it worked fine... :S
Thanks for taking care!

from tripal_blast.

laceysanderson avatar laceysanderson commented on July 24, 2024

That header format with my own example protein passes validation perfectly. Can you provide me with your protein sequence for easy testing?

from tripal_blast.

kyrenya avatar kyrenya commented on July 24, 2024

I'm using the one that tripal_blast loads as example by default...

gi|166477|gb|AAA96434.1| resveratrol synthase [Arachis hypogaea]
MVSVSGIRKVQRAEGPATVLAIGTANPPNCIDQSTYADYYFRVTNSEHMTDLKKKFQRICERTQIKNRHM
YLTEEILKENPNMCAYKAPSLDAREDMMIREVPRVGKEAATKAIKEWGQPMSKITHLIFCTTSGVALPGV
DYELIVLLGLDPCVKRYMMYHQGCFAGGTVLRLAKDLAENNKDARVLIVCSENTAVTFRGPSETDMDSLV
GQALFADGAAAIIIGSDPVPEVEKPIFELVSTDQKLVPGSHGAIGGLLREVGLTFYLNKSVPDIISQNIN
DALNKAFDPLGISDYNSIFWIAHPGGRAILDQVEQKVNLKPEKMKATRDVLSNYGNMSSACVFFIMDLMR
KRSLEEGLKTTGEGLDWGVLFGFGPGLTIETVVLRSVAI

I tried with anything, even sth like

test
PP

from tripal_blast.

kyrenya avatar kyrenya commented on July 24, 2024

the '>' was not pasted in my message, but it is there :)

from tripal_blast.

laceysanderson avatar laceysanderson commented on July 24, 2024

I think I found the bug in the regex! I pushed a commit to the main branch and that sequence now works for me. Can you test on your end as well?

from tripal_blast.

kyrenya avatar kyrenya commented on July 24, 2024

it worked!!
but I got again the non well formed numeric value. warning.. shouldnt be fixed if I'm git pull-ing the tripal_blast thingy?

from tripal_blast.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.