Mercurial > repos > ric > test2
comparison galaxy-tools/biobank/utils/split_by_study.xml @ 0:ba6cf6ede027 draft default tip
Uploaded
| author | ric |
|---|---|
| date | Wed, 28 Sep 2016 06:03:30 -0400 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:ba6cf6ede027 |
|---|---|
| 1 <tool id="split_by_study" | |
| 2 name="VLUTIL.split_individuals_by_study" | |
| 3 force_history_refresh="true"> | |
| 4 | |
| 5 <description> | |
| 6 Split a file containing pedigree informations in multiple files using the study as split criteria | |
| 7 </description> | |
| 8 | |
| 9 <command interpreter="bash"> | |
| 10 launcher.sh | |
| 11 --interpreter=python | |
| 12 --runner=split_by_study.py | |
| 13 --in-file=${in_file} | |
| 14 --logfile=${log_file} | |
| 15 --record-id=$log_file.id | |
| 16 --out-path=$__new_file_path__ | |
| 17 </command> | |
| 18 | |
| 19 <inputs> | |
| 20 <param format="tabular" name="in_file" type="data" | |
| 21 label="input TSV file"/> | |
| 22 </inputs> | |
| 23 | |
| 24 <outputs> | |
| 25 <data format="txt" name="log_file" | |
| 26 label="${tool.name}.log"/> | |
| 27 </outputs> | |
| 28 | |
| 29 <help> | |
| 30 Split a file like:: | |
| 31 | |
| 32 individual gender father mother | |
| 33 ASTUDY:2141 MALE ASTUDY:12 ASTUDY:12341 | |
| 34 ASTUDY:415 MALE ASTUDY:3562 ASTUDY:13612 | |
| 35 BSTUDY:12515 FEMALE BSTUDY:3512 BSTUDY:124 | |
| 36 | |
| 37 into multiple files based on the STUDY value of the label stored in the "individual" column. | |
| 38 Each label in the "individual" column must have a STUDY:ENROLLMENT_CODE format, otherwise the line | |
| 39 will be skipped. | |
| 40 </help> | |
| 41 | |
| 42 </tool> |
