Comments (22)
from tripal_blast.
Try changing the ending on the file to txt and see if that works?
from tripal_blast.
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.
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.
It works! Thx a lot! 👍
from tripal_blast.
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.
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.
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.
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.
done! :)
2019Feb07_141328.blast.txt
from tripal_blast.
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.
hi There! php 7.2!
from tripal_blast.
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.
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.
Great! 🎉
from tripal_blast.
uhmm, other error arised, it doesnt seem to recognise now the FASTA sequence when its a protein..
I attach screenshot
from tripal_blast.
it's weird because before the 'git pull' it worked fine... :S
Thanks for taking care!
from tripal_blast.
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.
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.
the '>' was not pasted in my message, but it is there :)
from tripal_blast.
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.
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)
- FASTA not validated properly HOT 1
- setting up blast functionality HOT 3
- formatdb or makeblastdb? HOT 3
- Trimming database path HOT 1
- error loading file and segmentation fault HOT 4
- Make Tripal Gold-rated module. HOT 1
- Error - "File is not accessible" HOT 2
- max_target_seqs parameter HOT 3
- Overly aggressive regex to remove database extension in api/blast_ui.api.inc HOT 1
- Undefined variable HOT 1
- Trimming of input sequence HOT 1
- Issues with online docs HOT 2
- Blast analyses failed: "We encountered an error and are unable to load your BLAST results" HOT 4
- Upgrade to Tripal 4 + Drupal 9 HOT 10
- Progressive Display Controls HOT 1
- PHP8 Deprecation warnings HOT 1
- PHP8 catches mismatched parameter names HOT 1
- Tripal blast not run smoothly when using 'drush trp-run-jobs' command line HOT 4
- Modify queue priority of BLAST jobs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tripal_blast.