mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-21 13:50:20 +08:00
Biomart doesn't work on the trunk yet (Before or after this commit). axt to lav tool won't be functional until multiple datasets per history item is available on trunk - although I could make it so that only the lav file is generated and no fasta files, in which case it wouldn't be an issue.
130 lines
5.5 KiB
XML
130 lines
5.5 KiB
XML
<?xml version="1.0"?>
|
|
|
|
<tool name="Upload File" id="upload1">
|
|
|
|
<description>
|
|
from your computer
|
|
</description>
|
|
|
|
<action module="galaxy.tools.actions.upload" class="UploadToolAction"/>
|
|
<inputs>
|
|
|
|
<param name="file_data" type="file" size="30" label="File"/>
|
|
|
|
<param name="url_paste" type="text" area="true" size="5x35" label="URL/Text" help="Here you may specify a list of URLs (one per line) or paste the contents of a file."/>
|
|
|
|
<param name="space_to_tab" type="select" display="checkboxes" multiple="True" label="Convert spaces to tabs" help="Use this option if you are entering intervals by hand.">
|
|
<option value="Yes">Yes</option>
|
|
</param>
|
|
|
|
<param type="select" name="file_type" label="File Format" help="BED or Interval? See help below">
|
|
<option value="auto" selected="yes">Auto-detect</option>
|
|
<option value="bed">BED</option>
|
|
<option value="interval">Genomic Intervals</option>
|
|
<option value="fasta">FASTA</option>
|
|
<option value="maf">Maf</option>
|
|
<option value="axt">AXT</option>
|
|
<option value="tabular">Tab delimited</option>
|
|
<option value="gff">Gff</option>
|
|
<option value="text">Other text type</option>
|
|
</param>
|
|
|
|
<param label="Genome" name="dbkey" type="select" dynamic_options="get_available_builds()"/>
|
|
|
|
</inputs>
|
|
<help>
|
|
**Auto-detect**
|
|
|
|
The system can detect FASTA, MAF, Wiggle, BED and Interval (BED with headers) formats. Other formats will be set to generic text files. If your file is not detected properly as one of the known formats it most likely means that it might have some format problems for example: different number of columns on different rows. You can still coerce the system to set your data to the format you think is should be (please send us a note if you see a case when a valid format is not detected).
|
|
|
|
**BED**
|
|
|
|
* Tab delimited format
|
|
* Does not require header line
|
|
* Contains 3 required fields:
|
|
|
|
- chrom - The name of the chromosome (e.g. chr3, chrY, chr2_random) or contig (e.g. ctgY1).
|
|
- chromStart - The starting position of the feature in the chromosome or contig. The first base in a chromosome is numbered 0.
|
|
- chromEnd - The ending position of the feature in the chromosome or contig. The chromEnd base is not included in the display of the feature. For example, the first 100 bases of a chromosome are defined as chromStart=0, chromEnd=100, and span the bases numbered 0-99.
|
|
|
|
* May contain 9 additional optional BED fields:
|
|
|
|
- name - Defines the name of the BED line. This label is displayed to the left of the BED line in the Genome Browser window when the track is open to full display mode or directly to the left of the item in pack mode.
|
|
- score - A score between 0 and 1000. If the track line useScore attribute is set to 1 for this annotation data set, the score value will determine the level of gray in which this feature is displayed (higher numbers = darker gray).
|
|
- strand - Defines the strand - either '+' or '-'.
|
|
- thickStart - The starting position at which the feature is drawn thickly (for example, the start codon in gene displays).
|
|
- thickEnd - The ending position at which the feature is drawn thickly (for example, the stop codon in gene displays).
|
|
- itemRgb - An RGB value of the form R,G,B (e.g. 255,0,0). If the track line itemRgb attribute is set to "On", this RBG value will determine the display color of the data contained in this BED line. NOTE: It is recommended that a simple color scheme (eight colors or less) be used with this attribute to avoid overwhelming the color resources of the Genome Browser and your Internet browser.
|
|
- blockCount - The number of blocks (exons) in the BED line.
|
|
- blockSizes - A comma-separated list of the block sizes. The number of items in this list should correspond to blockCount.
|
|
- 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.
|
|
|
|
* Example::
|
|
|
|
chr22 1000 5000 cloneA 960 + 1000 5000 0 2 567,488, 0,3512
|
|
chr22 2000 6000 cloneB 900 - 2000 6000 0 2 433,399, 0,3601
|
|
|
|
Original description of the BED format can be found here_.
|
|
|
|
.. _here: http://genome.ucsc.edu/goldenPath/help/customTrack.html#BED
|
|
|
|
-----
|
|
|
|
**Genomic Intervals**
|
|
|
|
- Tab delimited format
|
|
- File must start with definition line in the following format (columns may be in any order).::
|
|
|
|
#CHROM START END STRAND
|
|
|
|
- CHROM - The name of the chromosome (e.g. chr3, chrY, chr2_random) or contig (e.g. ctgY1).
|
|
- START - The starting position of the feature in the chromosome or contig. The first base in a chromosome is numbered 0.
|
|
- END - The ending position of the feature in the chromosome or contig. The chromEnd base is not included in the display of the feature. For example, the first 100 bases of a chromosome are defined as chromStart=0, chromEnd=100, and span the bases numbered 0-99.
|
|
- STRAND - Defines the strand - either '+' or '-'.
|
|
- Example::
|
|
|
|
#CHROM START END STRAND NAME COMMENT
|
|
chr1 10 100 + exon myExon
|
|
chrX 1000 10050 - gene myGene
|
|
|
|
-----
|
|
|
|
**FASTA**
|
|
|
|
Fasta file may contain any number of sequences. Each sequence starts with a definition line identified by > symbol::
|
|
|
|
>sequence1
|
|
atgcgtttgcgtgc
|
|
gtcggtttcgttgc
|
|
>sequence2
|
|
tttcgtgcgtatag
|
|
tggcgcggtga
|
|
|
|
-----
|
|
|
|
**MAF**
|
|
|
|
TBA and multiz multiple alignment format
|
|
|
|
-----
|
|
|
|
**AXT**
|
|
|
|
blastz pairwise alignment format
|
|
|
|
-----
|
|
|
|
**Tab delimited**
|
|
|
|
Any data in tab delimited format
|
|
|
|
-----
|
|
|
|
**Other text type**
|
|
|
|
Any text file
|
|
|
|
</help>
|
|
<code file = "upload_code.py"/>
|
|
</tool>
|