You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Retrieve list of metagenomes based on search criteria.
@@ -58,8 +58,7 @@ def main(args):
58
58
parser.add_option("", "--limit", dest="limit", type="int", default=15, help="Number of results to show, if > 50 will use paginated queris to get all, default is 15")
59
59
parser.add_option("", "--order", dest="order", default=None, help="field metagenomes are ordered by, default is by score")
60
60
parser.add_option("", "--direction", dest="direction", default="asc", help="direction of order. 'asc' for ascending order, 'desc' for descending order, default is asc")
61
-
parser.add_option("", "--status", dest="status", default="public", help="types of metagenomes to return. 'both' for all data (public and private), 'public' for public data, 'private' for users private data, default is public")
62
-
parser.add_option("", "--index", dest="index", default=None, help="index to search against, default is main DB")
61
+
parser.add_option("", "--public", dest="public", action="store_true", default=False, help="return both private and public data if using authenticated search, default is private only. non-authenticated search only returns public.")
63
62
forsfieldinSEARCH_FIELDS:
64
63
parser.add_option("", "--"+sfield, dest=sfield, default=None, help="search parameter: query string for "+sfield)
0 commit comments