Mercurial > repos > jjohnson > barcode_splitter
comparison fastx_barcode_splitter_single.xml @ 0:bc23f6946bb8 default tip
Alternative barcode splitters that move selected results to the users history.
| author | Jim Johnson <jj@umn.edu> |
|---|---|
| date | Tue, 19 Jul 2011 13:03:32 -0500 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:bc23f6946bb8 |
|---|---|
| 1 <tool id="cshl_fastx_barcode_splitter_single" name="Barcode Splitter (Single)"> | |
| 2 <description></description> | |
| 3 <requirements><requirement type="package">fastx_toolkit</requirement></requirements> | |
| 4 <command interpreter="python">fastx_barcode_splitter_single_galaxy_wrapper.py | |
| 5 $matched_output | |
| 6 $unmatched_output | |
| 7 "$input.ext" | |
| 8 --barcodes='$barcode' | |
| 9 $input "$input.name" | |
| 10 --mismatches $mismatches --partial $partial $EOL | |
| 11 </command> | |
| 12 | |
| 13 <inputs> | |
| 14 <!-- <param format="txt" name="BARCODE" type="data" label="Barcodes to use" /> --> | |
| 15 <param format="fasta,fastqsanger,fastqsolexa,fastqillumina" name="input" type="data" label="Library to split" /> | |
| 16 | |
| 17 <param name="EOL" type="select" label="Barcodes found at"> | |
| 18 <option value="--bol">Start of sequence (5' end)</option> | |
| 19 <option value="--eol">End of sequence (3' end)</option> | |
| 20 </param> | |
| 21 | |
| 22 <param name="mismatches" type="integer" size="3" value="2" label="Number of allowed mismatches" /> | |
| 23 | |
| 24 <param name="partial" type="integer" size="3" value="0" label="Number of allowed barcodes nucleotide deletions" /> | |
| 25 | |
| 26 <param name="barcode" type="text" label="Barcode to extract" /> | |
| 27 | |
| 28 <!-- | |
| 29 <param name="barcodes" type="select" multiple="true" label="Select barcodes to add as new datasets to history"> | |
| 30 <options from_dataset="BARCODE"> | |
| 31 <column name="name" index="0"/> | |
| 32 <column name="value" index="0"/> | |
| 33 <filter type="unique_value" name="unq_bc" column="0" /> | |
| 34 <filter type="add_value" name="unmatched" value="unmatched"/> | |
| 35 </options> | |
| 36 </param> | |
| 37 --> | |
| 38 </inputs> | |
| 39 | |
| 40 <outputs> | |
| 41 <data format_source="input" name="matched_output" label="Barcode Splitter on ${input.name} (Matching sequences)" /> | |
| 42 <data format_source="input" name="unmatched_output" label="Barcode Splitter on ${input.name} (Unmatched sequences)" /> | |
| 43 </outputs> | |
| 44 | |
| 45 <tests> | |
| 46 </tests> | |
| 47 | |
| 48 <help> | |
| 49 | |
| 50 **What it does** | |
| 51 | |
| 52 This tool splits a Solexa library (FASTQ file) or a regular FASTA file into two files using a barcode as the split criteria. | |
| 53 | |
| 54 -------- | |
| 55 | |
| 56 A new FASTQ file will be created (with the barcode's identifier as part of the file name). | |
| 57 Sequences matching the barcode will be stored in the appropriate file. | |
| 58 | |
| 59 An additional FASTQ file will be created (the 'unmatched' file), where sequences not matching this barcode will be stored. | |
| 60 | |
| 61 </help> | |
| 62 </tool> | |
| 63 <!-- FASTX-barcode-splitter is part of the FASTX-toolkit, by A.Gordon (gordon@cshl.edu) --> |
