Mercurial > repos > jjohnson > gmap
comparison snpindex.xml @ 5:14561eb803a5 draft
Uploaded v3.0.1b (still working on this prior to main Tool Shed release)
author | peterjc |
---|---|
date | Fri, 21 Oct 2016 10:55:40 -0400 |
parents | 488e9d642566 |
children |
comparison
equal
deleted
inserted
replaced
4:a88571642c6e | 5:14561eb803a5 |
---|---|
2 <description>build index files for known SNPs</description> | 2 <description>build index files for known SNPs</description> |
3 <requirements> | 3 <requirements> |
4 <requirement type="package" version="2013-05-09">gmap</requirement> | 4 <requirement type="package" version="2013-05-09">gmap</requirement> |
5 </requirements> | 5 </requirements> |
6 <version_command>snpindex --version</version_command> | 6 <version_command>snpindex --version</version_command> |
7 <command interpreter="command"> /bin/bash $shscript 2>1 1> $output </command> | 7 <command detect_errors="exit_code" interpreter="bash"><![CDATA[ |
8 $shscript 2>1 1> $output | |
9 ]]></command> | |
8 <configfiles> | 10 <configfiles> |
9 <configfile name="shscript"> | 11 <configfile name="shscript"><![CDATA[ |
10 #!/bin/bash | 12 #!/bin/bash |
11 #set $ds = chr(36) | 13 #set $ds = chr(36) |
12 #set $gt = chr(62) | 14 #set $gt = chr(62) |
13 #set $lt = chr(60) | 15 #set $lt = chr(60) |
14 #set $ad = chr(38) | 16 #set $ad = chr(38) |
39 cat $dbsnp.snps > $pathsnpsiit | 41 cat $dbsnp.snps > $pathsnpsiit |
40 #end if | 42 #end if |
41 snpindex -D $gmapdb -d $refname -V $output.extra_files_path -v $snpsname $pathsnpsiit | 43 snpindex -D $gmapdb -d $refname -V $output.extra_files_path -v $snpsname $pathsnpsiit |
42 echo snpindex -D $gmapdb -d $refname -V $output.extra_files_path -v $snpsname $pathsnpsiit | 44 echo snpindex -D $gmapdb -d $refname -V $output.extra_files_path -v $snpsname $pathsnpsiit |
43 #end if | 45 #end if |
44 </configfile> | 46 ]]></configfile> |
45 </configfiles> | 47 </configfiles> |
46 <inputs> | 48 <inputs> |
47 <conditional name="refGenomeSource"> | 49 <conditional name="refGenomeSource"> |
48 <param name="genomeSource" type="select" label="Will you map to a reference genome from your history or use a built-in index?" help="Built-ins were indexed using default options"> | 50 <param name="genomeSource" type="select" label="Will you map to a reference genome from your history or use a built-in index?" help="Built-ins were indexed using default options"> |
49 <option value="indexed">Use a built-in index</option> | 51 <option value="indexed">Use a built-in index</option> |
50 <option value="gmapdb">Use gmapdb from the history</option> | 52 <option value="gmapdb">Use gmapdb from the history</option> |
51 </param> | 53 </param> |
52 <when value="indexed"> | 54 <when value="indexed"> |
53 <param name="gmapindex" type="select" label="Select a reference genome" help="if your genome of interest is not listed - contact Galaxy team"> | 55 <param name="gmapindex" type="select" label="Select a reference genome" help="if your genome of interest is not listed - contact Galaxy team"> |
54 <options from_file="gmap_indices.loc"> | 56 <options from_data_table="gmap_indices"> |
55 <column name="uid" index="0" /> | 57 <column name="uid" index="0" /> |
56 <column name="dbkey" index="1" /> | 58 <column name="dbkey" index="1" /> |
57 <column name="name" index="2" /> | 59 <column name="name" index="2" /> |
58 <column name="kmers" index="3" /> | 60 <column name="kmers" index="3" /> |
59 <column name="maps" index="4" /> | 61 <column name="maps" index="4" /> |