{"model_class": "Tool", "id": "gene2exon1", "name": "Gene BED To Exon/Intron/Codon BED", "version": "1.0.0", "description": "expander", "labels": [], "icon": null, "edam_operations": [], "edam_topics": [], "hidden": "", "is_workflow_compatible": true, "xrefs": [], "panel_section_id": "operate_on_genomic_intervals", "panel_section_name": "Operate on Genomic Intervals", "form_style": "regular", "inputs": [{"model_class": "SelectToolParameter", "name": "region", "argument": null, "type": "select", "label": "Extract", "help": "", "help_format": "html", "refresh_on_change": false, "optional": false, "hidden": false, "is_dynamic": false, "value": "transcribed", "options": [["Coding Exons + UTR Exons", "transcribed", false], ["Coding Exons only", "coding", false], ["5'-UTR Exons", "utr5", false], ["3'-UTR Exons", "utr3", false], ["Introns", "intron", false], ["Codons", "codon", false]], "display": null, "multiple": false, "textable": false, "default_value": "transcribed", "text_value": "Coding Exons + UTR Exons"}, {"model_class": "DataToolParameter", "name": "input1", "argument": null, "type": "data", "label": "from", "help": "this history item must contain a 12 field BED (see below)", "help_format": "html", "refresh_on_change": true, "optional": false, "hidden": false, "is_dynamic": false, "value": null, "extensions": ["bed"], "edam": {"edam_formats": ["format_3003"], "edam_data": ["data_3002"]}, "multiple": false, "options": {"dce": [], "ldda": [], "hda": [], "hdca": []}, "tag": null, "default_value": null, "text_value": "No dataset."}], "help": "<p class=\"warningmark\">This tool works only on a BED file that contains at least 12 fields (see <strong>Example<\/strong> and <strong>About formats<\/strong> below).  The output will be empty if applied to a BED file with 3 or 6 fields.<\/p>\n<hr class=\"docutils\" />\n<p><strong>What it does<\/strong><\/p>\n<p>BED format can be used to represent a single gene in just one line, which contains the information about exons, coding sequence location (CDS), and positions of untranslated regions (UTRs).  This tool <em>unpacks<\/em> this information by converting a single line describing a gene into a collection of lines representing individual exons, introns, UTRs, etc.<\/p>\n<hr class=\"docutils\" />\n<p><strong>Example<\/strong><\/p>\n<p>Extracting <strong>Coding Exons + UTR Exons<\/strong> from the following two BED lines:<\/p>\n<pre class=\"literal-block\">\nchr7 127475281 127491632 NM_000230 0 + 127486022 127488767 0 3 29,172,3225,    0,10713,13126\nchr7 127486011 127488900 D49487    0 + 127486022 127488767 0 2 155,490,        0,2399\n<\/pre>\n<p>will return:<\/p>\n<pre class=\"literal-block\">\nchr7 127475281 127475310 NM_000230 0 +\nchr7 127485994 127486166 NM_000230 0 +\nchr7 127488407 127491632 NM_000230 0 +\nchr7 127486011 127486166 D49487    0 +\nchr7 127488410 127488900 D49487    0 +\n<\/pre>\n<hr class=\"docutils\" />\n<p class=\"infomark\"><strong>About formats<\/strong><\/p>\n<p><strong>BED format<\/strong> Browser Extensible Data format was designed at UCSC for displaying data tracks in the Genome Browser. It has three required fields and additional optional ones. In the specific case of this tool the following fields must be present:<\/p>\n<pre class=\"literal-block\">\n 1. chrom - The name of the chromosome (e.g. chr1, chrY_random).\n 2. chromStart - The starting position in the chromosome. (The first base in a chromosome is numbered 0.)\n 3. chromEnd - The ending position in the chromosome, plus 1 (i.e., a half-open interval).\n 4. name - The name of the BED line.\n 5. score - A score between 0 and 1000.\n 6. strand - Defines the strand - either '+' or '-'.\n 7. thickStart - The starting position where the feature is drawn thickly at the Genome Browser.\n 8. thickEnd - The ending position where the feature is drawn thickly at the Genome Browser.\n 9. reserved - This should always be set to zero.\n10. blockCount - The number of blocks (exons) in the BED line.\n11. blockSizes - A comma-separated list of the block sizes. The number of items in this list should correspond to blockCount.\n12. blockStarts - A comma-separated list of block starts. All of the blockStart positions should be calculated relative to chromStart. The number of items in this list should correspond to blockCount.\n<\/pre>\n", "help_format": "restructuredtext", "citations": false, "sharable_url": null, "message": "", "warnings": null, "versions": ["1.0.0"], "requirements": [], "credentials": [], "errors": {"input1": "Parameter 'input1': specify a dataset of the required format / build for parameter"}, "tool_errors": null, "state_inputs": {"region": "transcribed", "input1": null}, "job_id": null, "job_remap": null, "job_credentials_context": null, "history_id": "bbd44e69cb8906b5444b945f7cd03639", "display": true, "action": "/tool_runner/index", "license": null, "creator": null, "method": "post", "enctype": "application/x-www-form-urlencoded"}