Comments (8)
Compatible and proper default parameters for all 4 programs are in pull request #33.
from tripal_blast.
Good catch! A PR would be greatly appreciated :-)
from tripal_blast.
ill have one tomorrow am, i want to read the manual and make sure i catch all the invalid combinations.
from tripal_blast.
The reward/penalty in the manual for blastn lists the below reward/penalty and gap open/extend costs.
I can't find a similar table for the other blast methods, are they the same?
Anyway, the table has me wonder, what is the logic behind the available gap/mismatch options? I ask because if one chooses 4 -5 for matching, then the only valid gap options are 6/5, 5/5, 4/5, 3/5 (or more stringent), none of which are options.
reward/penalty | gap costs (open/extend) | default MegaBLAST gap costs (open/extend) |
---|---|---|
1/-5 | 3/3 | 0/5.5 |
1/-4 | 1/2, 0/2, 2/1, 1/1 | 0/4.5 |
2/-7 | 2/4, 0/4, 4/2, 2/2 | 0/8 |
1/-3 | 2/2, 1/2, 0/2, 2/1, 1/1 | 0/3.5 |
2/-5 | 2/4, 0/4, 4/2, 2/2 | 0/6 |
1/-2 | 2/2, 1/2, 0/2, 3/1, 2/1, 1/1 | 0/2.5 |
2/-3 | 4/4, 2/4, 0/4, 3/3, 6/2, 5/2, 4/2, 2/2 | 0/4 |
3/-4 | 6/3, 5/3, 4/3, 6/2, 5/2, 4/2 | N/A |
4/-5 | 6/5, 5/5, 4/5, 3/5 | N/A |
1/-1 | 3/2, 2/2, 1/2, 0/2, 4/1, 3/1, 2/1 | N/A |
3/-2 | 5/5 | N/A |
5/-4 | 10/6, 8/6 | N/A |
from tripal_blast.
@bradfordcondon, the advanced options were implemented by a student with limited understanding of how blastn and friends actually work. Although we spent some time working together to ensure that it was not possible to select invalid combinations of settings, due to lack of time, the effort was unfortunately, minimal. I wouldn't take too seriously any of the existing decisions about which options are available under which conditions.
Unfortunately, the options are not the same for each BLAST program. One source of information, if there is no handy table, is to check available options in the NCBI BLAST interface. (https://blast.ncbi.nlm.nih.gov/Blast.cgi)
from tripal_blast.
Shoot, thank you @ekcannon very good to know that the valid choices are d ifferent for each.
I made a table below for the valid/invald combinations for blastn.
I wonder if switching it to free text instead of the dropdown would be the best solution, if different combinations are going to be valid/invalid for each program? Otherwise I can make this matrix for each program and add the validation for each, but that might take me a little while to get around to.
blasn
reward penalty value | gap open extend | ||||||
---|---|---|---|---|---|---|---|
5,2 | 2,2 | 1,2 | 0,2 | 3,1 | 2,1 | 1,1 | |
1,-1 | yes | yes | yes | yes | yes | yes | no |
1,-2 | yes | yes | yes | yes | yes | yes | yes |
1,-3 | yes | yes | yes | yes | yes | yes | |
1,-4 | yes | yes | yes | yes | yes | yes | yes |
4,-5 | no | no | no | no | no | no | no |
2,-3 | yes | yes | no | no | yes | no | no |
edit my main concern is blast failing without a good error message passed to the user. This came up because a user selected a 4,-5 blastn and got an ambiguous "job failed" message.
also good suggestion just going by the options available in web blast, ill do that
I'd bet thats what your student did, but they only looked at the default options. The gap cost options change depending on the selected match/mismatch.
from tripal_blast.
Illegal blastn combinations removed by @bradfordcondon (pull request #32).
blastp, blastx, and tblastx remain.
from tripal_blast.
Fixed by PRs!
from tripal_blast.
Related Issues (20)
- 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
- Tripal Blast doesn't show up in the Extensions listing
- Blast Overview Javascript issues
- Update blastx, tblastn, blastp forms HOT 2
- Current Documentation HOT 1
- Unable to install via Composer
- Undefined array key "cvitjs_location" in blast_ui HOT 2
- 'File is not accessible' issue in tripal blast (related to sites/default/files/tripal_blast/ or /tmp?) HOT 2
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.