| 0 | 1 <tool id="fix_and_merge_TCGA_samples_IDs" name="Fix and Merge TCGA sample IDs" force_history_refresh="True"> | 
|  | 2     <command interpreter="python">fix.and.merge.TCGA.sample.IDs.py | 
|  | 3 -d $dataset -n ${num_components} ${remove_normals} | 
|  | 4 -o ${output} | 
|  | 5 | 
|  | 6 </command> | 
|  | 7     <inputs> | 
|  | 8     	<param name="dataset" type="data" format='tabular' label="Matrix with Full TCGA Aliquot Barcodes"/> | 
|  | 9 	<param name="num_components" type="integer" label="Number of barcode components to use (min number is 3)" value="3" /> | 
|  | 10 	<param name="remove_normals" type="boolean" label="Remove Normals from Matrix? (check to exclude)" truevalue="-r" falsevalue="" checked="True" /> | 
|  | 11     </inputs> | 
|  | 12     <outputs> | 
|  | 13         <data format="tabular" name="output" label="Matrix with TCGA Patient Barcodes (filtered and merged)"/> | 
|  | 14     </outputs> | 
|  | 15 <help> | 
|  | 16 .. class:: infomark | 
|  | 17 | 
|  | 18 **Update and Merge TCGA Sample IDs** - This will limit the TCGA sample IDs to the specified numnber of elements (min is 3).  If necessary, samples will be merged (by averaging) | 
|  | 19 | 
|  | 20 **OUTPUT:**  A new matrix using sample (columns) that use the specified number of components | 
|  | 21 | 
|  | 22 ---- | 
|  | 23 | 
|  | 24 **Parameters** | 
|  | 25 | 
|  | 26 - **Matrix with TCGA barcode sample IDs (e.g. TCGA-AE-####-01-)** Specify a data matrix with TCGA barcodes | 
|  | 27 | 
|  | 28 - **Number of barcode components to use** Specify the number of barcode components to use in new matrix that is produced **(min number is 3)** | 
|  | 29 | 
|  | 30 - **Remove Normals from Matrix?** - Remove any normals from the matrix (if necessary) | 
|  | 31 | 
|  | 32 </help> | 
|  | 33 </tool> |