{"_id":"5b0e13ffc4664e0003c75b57","project":"5b0e13ffc4664e0003c75a66","version":{"_id":"5b0e13ffc4664e0003c75a67","project":"5b0e13ffc4664e0003c75a66","__v":4,"createdAt":"2015-09-17T16:58:03.490Z","releaseDate":"2015-09-17T16:58:03.490Z","categories":["5b0e13ffc4664e0003c75a68","5b0e13ffc4664e0003c75a69","5b0e13ffc4664e0003c75a6a","5b0e13ffc4664e0003c75a6b","5b0e13ffc4664e0003c75a6c","5b0e13ffc4664e0003c75a6d","5b0e13ffc4664e0003c75a6e","5b0e13ffc4664e0003c75a6f","5b0e13ffc4664e0003c75a70","5b0e13ffc4664e0003c75a71","5b0e13ffc4664e0003c75a72","5b0e13ffc4664e0003c75a73","5b0e13ffc4664e0003c75a74","5b0e13ffc4664e0003c75a75","5b0e13ffc4664e0003c75a76","5b0e13ffc4664e0003c75a77","5b0e13ffc4664e0003c75a89","5b0e13ffc4664e0003c75a8a","5b0e13ffc4664e0003c75a9d","5b0e13ffc4664e0003c75a9e","5b0e13ffc4664e0003c75a9f","5b0e13ffc4664e0003c75aa0","5b0e13ffc4664e0003c75aa1","5b0e13ffc4664e0003c75aa2","5b0e13ffc4664e0003c75aa3","5b0e13ffc4664e0003c75aa4","5b0e13ffc4664e0003c75aa5","5b0e13ffc4664e0003c75aa6","5b0e13ffc4664e0003c75aa7","5b0e13ffc4664e0003c75aa8","5b0e13ffc4664e0003c75aa9","5b0e13ffc4664e0003c75aaa","5b0e13ffc4664e0003c75aab","5b0e13ffc4664e0003c75aac","5b0e13ffc4664e0003c75aad","5b0e13ffc4664e0003c75aae","5b0e13ffc4664e0003c75aaf","5b0e13ffc4664e0003c75ab2","5bb3374f4306ad0003eb18e7","5bbf3c5373e72a000318362b","5bc065567d1cb0000384c649","5cbf19a5f9181f0033fbb968"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"category":{"_id":"5b0e13ffc4664e0003c75aaa","project":"5b0e13ffc4664e0003c75a66","version":"5b0e13ffc4664e0003c75a67","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-12-05T15:44:15.650Z","from_sync":false,"order":6,"slug":"datasets-hub","title":"DATASETS HUB"},"user":"566590c83889610d0008a253","__v":0,"parentDoc":null,"githubsync":"","metadata":{"title":"","description":"","image":[]},"updates":["5aa0986bd046da001243db0b"],"next":{"pages":[],"description":""},"createdAt":"2018-02-19T15:56:11.701Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"settings":"","results":{"codes":[]},"auth":"required","params":[],"url":""},"isReference":false,"order":45,"body":"[block:callout]\n{\n  \"type\": \"warning\",\n  \"title\": \"On this page:\",\n  \"body\": \"* [Overview](#section-overview)\\n* [Procedure](#section-procedure)\\n* [Types of suggestions](#section-types-of-suggestions)\\n* [Example query](#section-example-query)\\n* [Next step](#section-next-step)\"\n}\n[/block]\n##Overview\n\nYou can build a query in the Data Browser starting from one or more search terms. The intuitive, autocomplete function uses your search terms to suggest pre-built queries. Then, you can select a query and continue to edit it on the Data Browser canvas.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": []\n    }\n  ]\n}\n[/block]\n##Procedure\n\n1. Open the [Data Browser](doc:about-the-data-browser).\n2. (Optional) Filter the studies by entering the desired keywords which will be applied to study name, abbreviation or phs number. \n3. Select the study you want to query. The studies are organized into several categories. Click the checkbox next to a category name to select all studies within the category.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/76f55a2-select-datasets.jpg\",\n        \"select-datasets.jpg\",\n        647,\n        963,\n        \"#f3f6f5\"\n      ]\n    }\n  ]\n}\n[/block]\n4. Click **Explore selected**.\n5. Enter one or more terms into the search field.\n6.Press enter to query across all entered terms, and select a matched query from the **Results** page.\n7. Alternatively, select one of the matched queries that is displayed under **Related Queries** in the auto-populated list that appears upon entering search term(s), or select one of the existing queries that is displayed in the **Saved** or **Examples** tab. \n\nLearn more below about suggestions that appear once you enter a term, or explore the [Example query](#section-example-query) to see this in action.\n\n##Types of suggestions\n\nAs you enter search terms, the following types of suggestions appear:\n\n###Keywords\n\nSelect keywords to refine the queries suggested in the **Related queries**. Continue your search by entering another term. \n\nNote that keyword suggestions are shown for every term, independent of previously entered terms in the search field. For more information, see the [Example query](#section-example-query) below.\n\n###Related Queries\n\nA **Related Queries** section is displayed upon entering term(s) in the search field. This section lists pre-built queries based on your search terms. Click on a result to open it in the Data Browser canvas and continue to edit the query. Learn more about [editing queries](doc:data-browser-query-start-from-scratch).\n\n###Saved and Examples\n\nThe **Saved** and **Examples** tabs display any of your saved queries that match the entered search terms and example queries developed by the Seven Bridges bioinformatics team, respectively. Click on a result to open it in the Data Browser canvas and continue to edit the query. Learn more about [editing queries](doc:data-browser-query-start-from-scratch).\n\n##Example query\n\nFollow the instructions below to execute an example query identifying all affected male patients with available CRAM and VCF files for DNA samples.\n\n1. Select a study (e.g. \"Boston Early-Onset COPD Study\").\n2. Click **Explore selected**.\n2. In the search field enter the following terms and select the corresponding Keywords: **VCF**, **CRAM**,  and **DNA**.\n3. Click **Search** to see pre-built queries on the **Results** page.\n4. Select a result to populate the Data Browser canvas with the query.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/4c21225-bulding-a-query-from-a-dataset.jpg\",\n        \"bulding-a-query-from-a-dataset.jpg\",\n        1249,\n        756,\n        \"#f3f4f4\"\n      ]\n    }\n  ]\n}\n[/block]\n5. Click the **Sex** property under the **Subject** entity and choose **Male**.\n6. Click **Add property**.\n7. Click the **Subject is affected** property under the **Subject** entity and choose **True**. \n8. Click the refresh icon above the results table to display the available number of results.\n\n\n##Next step\n\nImport the files from a given query into your project by clicking on **+ Copy files to project**, or [edit your query](doc:data-browser-query-start-from-scratch) further. To return to the search field and modify your query, click on the trash icon in the upper righthand corner.","excerpt":"<a href=\"query-studies\" style=\"color:#132c56\">QUERY STUDIES</a> ><a href=\"about-the-data-browser\" style=\"color:#132c56\">About the Data Browser</a> > Data Browser query: start by searching through a study","slug":"data-browser-query-start-by-searching-through-a-study","type":"basic","title":"↳ Data Browser query: start by searching through a study"}

↳ Data Browser query: start by searching through a study

<a href="query-studies" style="color:#132c56">QUERY STUDIES</a> ><a href="about-the-data-browser" style="color:#132c56">About the Data Browser</a> > Data Browser query: start by searching through a study

[block:callout] { "type": "warning", "title": "On this page:", "body": "* [Overview](#section-overview)\n* [Procedure](#section-procedure)\n* [Types of suggestions](#section-types-of-suggestions)\n* [Example query](#section-example-query)\n* [Next step](#section-next-step)" } [/block] ##Overview You can build a query in the Data Browser starting from one or more search terms. The intuitive, autocomplete function uses your search terms to suggest pre-built queries. Then, you can select a query and continue to edit it on the Data Browser canvas. [block:image] { "images": [ { "image": [] } ] } [/block] ##Procedure 1. Open the [Data Browser](doc:about-the-data-browser). 2. (Optional) Filter the studies by entering the desired keywords which will be applied to study name, abbreviation or phs number. 3. Select the study you want to query. The studies are organized into several categories. Click the checkbox next to a category name to select all studies within the category. [block:image] { "images": [ { "image": [ "https://files.readme.io/76f55a2-select-datasets.jpg", "select-datasets.jpg", 647, 963, "#f3f6f5" ] } ] } [/block] 4. Click **Explore selected**. 5. Enter one or more terms into the search field. 6.Press enter to query across all entered terms, and select a matched query from the **Results** page. 7. Alternatively, select one of the matched queries that is displayed under **Related Queries** in the auto-populated list that appears upon entering search term(s), or select one of the existing queries that is displayed in the **Saved** or **Examples** tab. Learn more below about suggestions that appear once you enter a term, or explore the [Example query](#section-example-query) to see this in action. ##Types of suggestions As you enter search terms, the following types of suggestions appear: ###Keywords Select keywords to refine the queries suggested in the **Related queries**. Continue your search by entering another term. Note that keyword suggestions are shown for every term, independent of previously entered terms in the search field. For more information, see the [Example query](#section-example-query) below. ###Related Queries A **Related Queries** section is displayed upon entering term(s) in the search field. This section lists pre-built queries based on your search terms. Click on a result to open it in the Data Browser canvas and continue to edit the query. Learn more about [editing queries](doc:data-browser-query-start-from-scratch). ###Saved and Examples The **Saved** and **Examples** tabs display any of your saved queries that match the entered search terms and example queries developed by the Seven Bridges bioinformatics team, respectively. Click on a result to open it in the Data Browser canvas and continue to edit the query. Learn more about [editing queries](doc:data-browser-query-start-from-scratch). ##Example query Follow the instructions below to execute an example query identifying all affected male patients with available CRAM and VCF files for DNA samples. 1. Select a study (e.g. "Boston Early-Onset COPD Study"). 2. Click **Explore selected**. 2. In the search field enter the following terms and select the corresponding Keywords: **VCF**, **CRAM**, and **DNA**. 3. Click **Search** to see pre-built queries on the **Results** page. 4. Select a result to populate the Data Browser canvas with the query. [block:image] { "images": [ { "image": [ "https://files.readme.io/4c21225-bulding-a-query-from-a-dataset.jpg", "bulding-a-query-from-a-dataset.jpg", 1249, 756, "#f3f4f4" ] } ] } [/block] 5. Click the **Sex** property under the **Subject** entity and choose **Male**. 6. Click **Add property**. 7. Click the **Subject is affected** property under the **Subject** entity and choose **True**. 8. Click the refresh icon above the results table to display the available number of results. ##Next step Import the files from a given query into your project by clicking on **+ Copy files to project**, or [edit your query](doc:data-browser-query-start-from-scratch) further. To return to the search field and modify your query, click on the trash icon in the upper righthand corner.