Mercurial > repos > drosofff > mississipi_gcc2
comparison FeaturesParser.xml @ 0:de6a6afc5a79 draft default tip
Uploaded
| author | drosofff |
|---|---|
| date | Tue, 24 Jun 2014 12:16:43 -0400 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:de6a6afc5a79 |
|---|---|
| 1 <tool id="FeaturesParser" name="Parse GFF3 features" version="0.9.1"> | |
| 2 <description>in sRbowtie alignment</description> | |
| 3 <requirements><requirement type='package'>bowtie-inspect</requirement></requirements> | |
| 4 <parallelism method="basic"></parallelism> | |
| 5 <command interpreter="python"> | |
| 6 FeaturesParser.py | |
| 7 #if $refGenomeSource.genomeSource == "history": | |
| 8 $refGenomeSource.ownFile ## index source ## 1 | |
| 9 --do_not_extract_index ## 2 | |
| 10 #else: | |
| 11 #silent reference= filter( lambda x: str( x[0] ) == str( $input_list.dbkey ), $__app__.tool_data_tables[ 'bowtie_indexes' ].get_fields() )[0][-1] | |
| 12 $reference ## index source ## 1 | |
| 13 --extract_index ## 2 | |
| 14 #end if | |
| 15 $output ## 3 | |
| 16 $gff3 ## 4 | |
| 17 #for $i in $refGenomeSource.input_list | |
| 18 $i $i.ext "$i.name" | |
| 19 #end for | |
| 20 | |
| 21 </command> | |
| 22 <inputs> | |
| 23 <conditional name="refGenomeSource"> | |
| 24 <param name="genomeSource" type="select" label="Will you select a reference genome from your history or use a built-in index?" help="Built-ins were indexed using default options"> | |
| 25 <option value="indexed">Use a built-in index</option> | |
| 26 <option value="history">Use one from the history</option> | |
| 27 </param> | |
| 28 <when value="indexed"> | |
| 29 <param name="input_list" type="data" label="Select multiple alignments to parse" multiple="true"> | |
| 30 <validator type="dataset_metadata_in_data_table" table_name="bowtie_indexes" metadata_name="dbkey" metadata_column="0" message="database not set for this bowtie output. Select the database(=genome used for matching) manually, or select a reference fasta from your history."/> | |
| 31 </param> | |
| 32 </when> | |
| 33 <when value="history"> | |
| 34 <param name="ownFile" type="data" format="fasta" label="Select the fasta reference" /> | |
| 35 <param name="input_list" type="data" label="Select multiple alignments to parse" multiple="true"/> | |
| 36 </when> | |
| 37 </conditional> <!-- refGenomeSource --> | |
| 38 <param name="gff3" type="data" format="gff3" label="A GFF3 with features' coordinates"/> | |
| 39 </inputs> | |
| 40 <outputs> | |
| 41 <data format="tabular" name="output" label="Feature Counts Lists"/> | |
| 42 </outputs> | |
| 43 <help> | |
| 44 | |
| 45 **What it does** | |
| 46 | |
| 47 Parses Features Counts from one or several sRBowtie alignments (in tabular, Sam or Bam format). | |
| 48 | |
| 49 Both sense and antisense alignments are counted | |
| 50 | |
| 51 The library labels are infered from the input dataset names in the galaxy history. | |
| 52 | |
| 53 **It is thus essential that input datasets are appropriately renamed** | |
| 54 | |
| 55 **it is preferable that you do not put any space in this input dataset names. You may edit these names in the history** | |
| 56 | |
| 57 | |
| 58 | |
| 59 </help> | |
| 60 </tool> | |
| 61 |
