-
Notifications
You must be signed in to change notification settings - Fork 80
improving redbiom help and fixing bugs #2306
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
improving redbiom help and fixing bugs #2306
Conversation
[DO NOT MERGE] August 24th Release
…into printable-to-utf8
replace printable for try/except utf-8
* Adding branch description * Adding spaces * Adding timeline
upgrading software
…client-to-qiita
r_client to qiita
rm moi and ipython
…-create_raw_data
* add is_from_analysis to artifact_handlers * fix test_post_metadata * fix error
* fix qiita-spots#1293 * flake8 * fix errors * addressing @ElDeveloper comments
fix awaiting_approval list bug
* Fix qiita-spots#2276 * Factoring out generate nginx directory file list * Factoring out the nginx file list writing * Factoring out generating the file list of an artifact * Factoring out the header setting * Addressing @antgonza's comment * Addressing @wasade's comments
Codecov Report
@@ Coverage Diff @@
## release-candidate #2306 +/- ##
====================================================
+ Coverage 93.79% 93.8% +<.01%
====================================================
Files 163 163
Lines 18579 18579
====================================================
+ Hits 17427 17428 +1
+ Misses 1152 1151 -1
Continue to review full report at Codecov.
|
@antgonza which is the base branch that you are creating your working branch? You should probably create it from the "release-candidate" branch, and you will not have the issue with all the commits showing up here. |
that's what I did and if you see there are only 3 files changing ... |
qiita_pet/handlers/qiita_redbiom.py
Outdated
except: | ||
message = ( | ||
'Not a valid search: "%s", are you sure this is a ' | ||
'valid query value?' % query) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They probably won't be sure. What about: "The query ("%s") did not work and may be malformed. Please check the search help for more information on the queries."
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
k
qiita_pet/templates/redbiom.html
Outdated
<br/> | ||
<ul> | ||
<li> | ||
Find all samples in which the GreenGenes feature 4479944 is found: "4479944" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GreenGenes -> Greengenes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
k
qiita_pet/templates/redbiom.html
Outdated
</ul> | ||
</li> | ||
<li><b>Taxon</b>:<br/> | ||
The search will be only on closed reference and based on the taxonomies available. Note that you need to use the GreenGenes nomenclature. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
"...nomenclature of a rank prefix and taxon (e.g., o__Clostridiales for order level Clostridiales)."
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would also remind folks that there are dual underscores between rank and name.
so maybe:
The search will be only on closed reference and based on the taxonomies available.
Only exact matches are returned. Note that currently only the Greengenes taxonomy is
searchable, and that it requires nomenclature of a rank prefix, two underscores, and then the
name (e.g., o__Clostridiales for order level Clostridiales).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
k
</li> | ||
</ul> | ||
</li> | ||
<li> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So just to be clear, it's not possible to combine metadata searches with sequence searches? Like, I can find all ACGTTTGCCAGCAAAGACT in samples where ph < 7?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that's correct, could you add a new issues about this in https://github.com/biocore/redbiom/issues ? Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's possible with redbiom. Remember the command line interface is intended for piping, so this specific functionality may not be exposed to the CLI but is not be a problem with the API. The high level approach is:
- fetch the set of samples containing feature X
- fetch the set of samples corresponding to metadata criteria Y
- assess the set intersection of X and Y
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
right, this might be possible by adding a GUI where you can "connect" searches but not sure it it will be easier to do this via redbiom directly ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
realized that I never submitted these comments.
qiita_pet/handlers/qiita_redbiom.py
Outdated
except: | ||
message = ( | ||
'Not a valid search: "%s", are you sure this is a ' | ||
'valid query value?' % query) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
k
</li> | ||
</ul> | ||
</li> | ||
<li> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that's correct, could you add a new issues about this in https://github.com/biocore/redbiom/issues ? Thanks!
qiita_pet/templates/redbiom.html
Outdated
<br/> | ||
<ul> | ||
<li> | ||
Find all samples in which the GreenGenes feature 4479944 is found: "4479944" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
k
qiita_pet/templates/redbiom.html
Outdated
</ul> | ||
</li> | ||
<li><b>Taxon</b>:<br/> | ||
The search will be only on closed reference and based on the taxonomies available. Note that you need to use the GreenGenes nomenclature. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
k
thanks @josenavas, @tanaes or @wasade able to merge? |
@wasade, @josenavas, @tanaes. Now the help looks like this: