Skip to content

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

Merged
merged 123 commits into from
Sep 21, 2017

Conversation

antgonza
Copy link
Member

@wasade, @josenavas, @tanaes. Now the help looks like this:

redbiom-help

josenavas and others added 30 commits August 23, 2017 07:05
* Adding branch description

* Adding spaces

* Adding timeline
antgonza and others added 18 commits September 18, 2017 14:00
* add is_from_analysis to artifact_handlers

* fix test_post_metadata

* fix error
* fix qiita-spots#1293

* flake8

* fix errors

* addressing @ElDeveloper comments
* 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-io
Copy link

codecov-io commented Sep 21, 2017

Codecov Report

Merging #2306 into release-candidate will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@                 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
Impacted Files Coverage Δ
qiita_pet/test/test_qiita_redbiom.py 98.5% <ø> (ø) ⬆️
qiita_pet/handlers/qiita_redbiom.py 96.1% <100%> (+1.29%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9793a67...6eccdff. Read the comment docs.

@josenavas
Copy link
Contributor

@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.

@antgonza
Copy link
Member Author

that's what I did and if you see there are only 3 files changing ...

except:
message = (
'Not a valid search: "%s", are you sure this is a '
'valid query value?' % query)
Copy link
Contributor

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."

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

k

<br/>
<ul>
<li>
Find all samples in which the GreenGenes feature 4479944 is found: "4479944"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GreenGenes -> Greengenes

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

k

</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.
Copy link
Contributor

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)."

Copy link
Contributor

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).

Copy link
Member Author

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>
Copy link
Contributor

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?

Copy link
Member Author

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!

Copy link
Contributor

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

Copy link
Member Author

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 ...

@antgonza antgonza mentioned this pull request Sep 21, 2017
Copy link
Member Author

@antgonza antgonza left a 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.

except:
message = (
'Not a valid search: "%s", are you sure this is a '
'valid query value?' % query)
Copy link
Member Author

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>
Copy link
Member Author

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!

<br/>
<ul>
<li>
Find all samples in which the GreenGenes feature 4479944 is found: "4479944"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

k

</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.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

k

@antgonza
Copy link
Member Author

thanks @josenavas, @tanaes or @wasade able to merge?

@wasade wasade merged commit 4a30c79 into qiita-spots:release-candidate Sep 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants