Mercurial > repos > devteam > mutate_snp_codon
comparison mutate_snp_codon.xml @ 0:50333b5ac867 draft default tip
Uploaded tool tarball.
author | devteam |
---|---|
date | Tue, 20 Aug 2013 11:03:11 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:50333b5ac867 |
---|---|
1 <tool id="mutate_snp_codon_1" name="Mutate Codons" version="1.0.0"> | |
2 <description>with SNPs</description> | |
3 <command interpreter="python">mutate_snp_codon.py $input1 $output1 ${input1.metadata.chromCol} ${input1.metadata.startCol} ${input1.metadata.endCol} ${input1.metadata.strandCol} $codon_seq_col $snp_chrom_col $snp_start_col $snp_end_col $snp_strand_col $snp_observed_col</command> | |
4 <inputs> | |
5 <param name="input1" type="data" format="interval" label="Interval file with joined SNPs" optional="False" help="The interval metadata for this file should be set for the codon positions."/> | |
6 <param name="codon_seq_col" label="Codon Sequence column" type="data_column" data_ref="input1" /> | |
7 <param name="snp_chrom_col" label="SNP chromosome column" type="data_column" data_ref="input1" /> | |
8 <param name="snp_start_col" label="SNP start column" type="data_column" data_ref="input1" /> | |
9 <param name="snp_end_col" label="SNP end column" type="data_column" data_ref="input1" /> | |
10 <param name="snp_strand_col" label="SNP strand column" type="data_column" data_ref="input1" /> | |
11 <param name="snp_observed_col" label="SNP observed column" type="data_column" data_ref="input1" /> | |
12 </inputs> | |
13 <outputs> | |
14 <data name="output1" format="interval" metadata_source="input1"/> | |
15 </outputs> | |
16 <tests> | |
17 <test> | |
18 <param name="input1" value="mutate_snp_codon_in.interval"/> | |
19 <param name="codon_seq_col" value="8"/> | |
20 <param name="snp_chrom_col" value="17"/> | |
21 <param name="snp_start_col" value="18"/> | |
22 <param name="snp_end_col" value="19"/> | |
23 <param name="snp_strand_col" value="22"/> | |
24 <param name="snp_observed_col" value="25"/> | |
25 <output name="output1" file="mutate_snp_codon_out.interval" /> | |
26 </test> | |
27 </tests> | |
28 <help> | |
29 This tool takes an interval file as input. This input should contain a set of codon locations and corresponding DNA sequence (such as from the *Extract Genomic DNA* tool) joined to SNP locations with observed values (such as *all fields from selected table* from the snp130 table of hg18 at the UCSC Table browser). This interval file should have the metadata (chromosome, start, end, strand) set for the columns containing the locations of the codons. The user needs to specify the columns containing the sequence for the codon as well as the genomic positions and observed values (values should be split by '/') for the SNP data as tool input; SNPs positions and sequence substitutes must have a length of exactly 1. Only genomic intervals which yield a different sequence string are output. All sequence characters are converted to uppercase during processing. | |
30 | |
31 For example, using these settings: | |
32 | |
33 * **metadata** **chromosome**, **start**, **end** and **strand** set to **1**, **2**, **3** and **6**, respectively | |
34 * **Codon Sequence column** set to **c8** | |
35 * **SNP chromosome column** set to **c17** | |
36 * **SNP start column** set to **c18** | |
37 * **SNP end column** set to **c19** | |
38 * **SNP strand column** set to **c22** | |
39 * **SNP observed column** set to **c25** | |
40 | |
41 with the following input:: | |
42 | |
43 chr1 58995 58998 NM_001005484 0 + GAA GAA Glu GAA 1177632 28.96 0 2787607 0.422452662804 585 chr1 58996 58997 rs1638318 0 + A A A/G genomic single by-submitter 0 0 unknown exact 3 | |
44 chr1 59289 59292 NM_001005484 0 + TTT TTT Phe TTT 714298 17.57 0 1538990 0.464134269878 585 chr1 59290 59291 rs71245814 0 + T T G/T genomic single unknown 0 0 unknown exact 3 | |
45 chr1 59313 59316 NM_001005484 0 + AAG AAG Lys AAG 1295568 31.86 0 2289189 0.565950648898 585 chr1 59315 59316 rs2854682 0 - G G C/T genomic single by-submitter 0 0 unknown exact 3 | |
46 chr1 59373 59376 NM_001005484 0 + ACA ACA Thr ACA 614523 15.11 0 2162384 0.284187729839 585 chr1 59373 59374 rs2691305 0 - A A C/T genomic single unknown 0 0 unknown exact 3 | |
47 chr1 59412 59415 NM_001005484 0 + GCG GCG Ala GCG 299495 7.37 0 2820741 0.106176001271 585 chr1 59414 59415 rs2531266 0 + G G C/G genomic single by-submitter 0 0 unknown exact 3 | |
48 chr1 59412 59415 NM_001005484 0 + GCG GCG Ala GCG 299495 7.37 0 2820741 0.106176001271 585 chr1 59414 59415 rs55874132 0 + G G C/G genomic single unknown 0 0 coding-synon exact 1 | |
49 | |
50 | |
51 will produce:: | |
52 | |
53 chr1 58995 58998 NM_001005484 0 + GAA GAA Glu GAA 1177632 28.96 0 2787607 0.422452662804 585 chr1 58996 58997 rs1638318 0 + A A A/G genomic single by-submitter 0 0 unknown exact 3 GGA | |
54 chr1 59289 59292 NM_001005484 0 + TTT TTT Phe TTT 714298 17.57 0 1538990 0.464134269878 585 chr1 59290 59291 rs71245814 0 + T T G/T genomic single unknown 0 0 unknown exact 3 TGT | |
55 chr1 59313 59316 NM_001005484 0 + AAG AAG Lys AAG 1295568 31.86 0 2289189 0.565950648898 585 chr1 59315 59316 rs2854682 0 - G G C/T genomic single by-submitter 0 0 unknown exact 3 AAA | |
56 chr1 59373 59376 NM_001005484 0 + ACA ACA Thr ACA 614523 15.11 0 2162384 0.284187729839 585 chr1 59373 59374 rs2691305 0 - A A C/T genomic single unknown 0 0 unknown exact 3 GCA | |
57 chr1 59412 59415 NM_001005484 0 + GCG GCG Ala GCG 299495 7.37 0 2820741 0.106176001271 585 chr1 59414 59415 rs2531266 0 + G G C/G genomic single by-submitter 0 0 unknown exact 3 GCC | |
58 chr1 59412 59415 NM_001005484 0 + GCG GCG Ala GCG 299495 7.37 0 2820741 0.106176001271 585 chr1 59414 59415 rs55874132 0 + G G C/G genomic single unknown 0 0 coding-synon exact 1 GCC | |
59 | |
60 ------ | |
61 | |
62 **Citation** | |
63 | |
64 If you use this tool, please cite `Blankenberg D, Taylor J, Nekrutenko A; The Galaxy Team. Making whole genome multiple alignments usable for biologists. Bioinformatics. 2011 Sep 1;27(17):2426-2428. <http://www.ncbi.nlm.nih.gov/pubmed/21775304>`_ | |
65 | |
66 </help> | |
67 </tool> |