Mercurial > repos > rijst > snptools
comparison tablemerger.xml @ 3:1f00946b18c2 draft default tip
Uploaded
| author | rijst |
|---|---|
| date | Wed, 12 Dec 2012 09:09:45 -0500 |
| parents | cc961e057668 |
| children |
comparison
equal
deleted
inserted
replaced
| 2:7e46920d9664 | 3:1f00946b18c2 |
|---|---|
| 1 <tool id="tablemerger" name="SNP table merger"> | |
| 2 <description>merges any number of SNP tables into one</description> | |
| 3 <command interpreter="python">tablemerger.py $output | |
| 4 #for $f in $inputs: | |
| 5 $f.in | |
| 6 #end for | |
| 7 </command> | |
| 8 <inputs> | |
| 9 <repeat name="inputs" title="Input files"> | |
| 10 <param name="in" type="data" format="tabular" label="Input SNP table" /> | |
| 11 </repeat> | |
| 12 </inputs> | |
| 13 <outputs> | |
| 14 <data name="output" format="tabular" label="${tool.name} on various SNP tables" /> | |
| 15 </outputs> | |
| 16 <help> | |
| 17 This tool takes any number of tab-delimited SNP tables and merges them together.It puts SNPs at the same position on the same line and ignores bases that are the same in two strains. | |
| 18 Example input: | |
| 19 Position Ref Strain1 | |
| 20 123 A G | |
| 21 125 C T | |
| 22 | |
| 23 Position Ref Strain2 | |
| 24 123 A T | |
| 25 124 G C | |
| 26 125 C T | |
| 27 | |
| 28 Would give output: | |
| 29 Position Ref Strain1 Strain2 | |
| 30 123 A G T | |
| 31 124 G C | |
| 32 125 C T T | |
| 33 </help> | |
| 34 </tool> |
