annotate gmap/snpindex.xml @ 2:52da588232b0

Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
author Jim Johnson <jj@umn.edu>
date Fri, 21 Oct 2011 11:38:55 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
1 <tool id="gmap_snpindex" name="GMAP SNP Index" version="2.0.0">
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
2 <description>build index files for known SNPs</description>
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
3 <requirements>
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
4 <requirement type="binary">snpindex</requirement>
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
5 <!-- proposed tag for added datatype dependencies -->
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
6 <requirement type="datatype">gmapsnpindex</requirement>
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
7 <requirement type="datatype">gmapdb</requirement>
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
8 <requirement type="datatype">gmap_snps</requirement>
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
9 <requirement type="datatype">snps.iit</requirement>
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
10 </requirements>
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
11 <version_string>snpindex --version</version_string>
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
12 <command interpreter="command"> /bin/bash $shscript 2>1 1> $output </command>
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
13 <inputs>
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
14 <conditional name="refGenomeSource">
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
15 <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">
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
16 <option value="indexed">Use a built-in index</option>
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
17 <option value="gmapdb">Use gmapdb from the history</option>
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
18 </param>
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
19 <when value="indexed">
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
20 <param name="gmapindex" type="select" label="Select a reference genome" help="if your genome of interest is not listed - contact Galaxy team">
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
21 <options from_file="gmap_indices.loc">
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
22 <column name="uid" index="0" />
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
23 <column name="dbkey" index="1" />
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
24 <column name="name" index="2" />
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
25 <column name="kmers" index="3" />
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
26 <column name="maps" index="4" />
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
27 <column name="snps" index="5" />
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
28 <column name="value" index="6" />
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
29 </options>
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
30 </param>
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
31 </when>
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
32 <when value="gmapdb">
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
33 <param name="gmapdb" type="data" format="gmapdb" metadata_name="dbkey" label="Select a gmapdb"
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
34 help="A GMAP database built with GMAP Build"/>
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
35 </when>
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
36 </conditional>
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
37 <conditional name="dbsnp">
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
38 <param name="snp_source" type="select" label="Add SNP info from" >
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
39 <option value="snpTable">UCSC SNP Table</option>
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
40 <option value="snpFile">GMAP SNP File</option>
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
41 <option value="snpIIT">"GMAP SNPs map from GMAP iit store</option>
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
42 </param>
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
43 <when value="snpTable">
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
44 <param name="snps" type="data" format="tabular" label="UCSC SNPs table" help="Example: ftp://hgdownload.cse.ucsc.edu/goldenPath/hg18/database/snp130.txt.gz" />
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
45 <param name="snpsex" type="data" format="tabular" optional="true" label="UCSC SNP Exceptions table" help="Example: ftp://hgdownload.cse.ucsc.edu/goldenPath/hg18/database/snp130Exceptions.txt.gz" />
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
46 <param name="weight" type="select" label="Include SNPs with at least Confidence Level" help="">
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
47 <option value="1" selected="true">1 (High)</option>
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
48 <option value="2">2 (Medium)</option>
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
49 <option value="3">3 (All)</option>
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
50 </param>
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
51 </when>
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
52 <when value="snpFile">
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
53 <param name="snps" type="data" format="gmap_snps" label="GMAP SNPs file"
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
54 help="Format (3 columns):
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
55 &lt;br&gt;>rs62211261 21:14379270 CG
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
56 &lt;br&gt;>rs62211262 21:14379281 CG
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
57 &lt;br&gt;Each line must start with a &gt; character, then be followed by an
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
58 identifier (which may have duplicates). Then there should be the
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
59 chromosomal coordinate of the SNP. (Coordinates are all 1-based, so
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
60 the first character of a chromosome is number 1.) Finally, there
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
61 should be the two possible alleles: ( AC AG AT CG CT GT or AN CN GN TN)
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
62 &lt;br&gt;These alleles must correspond to the possible nucleotides on the plus strand of the genome.
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
63 If the one of these two letters does not match the allele in the reference
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
64 sequence, that SNP will be ignored in subsequent processing as a probable error.
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
65 The N stands for any other allele." />
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
66 </when>
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
67 <when value="snpIIT">
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
68 <param name="snpIIT" type="data" format="snps.iit" label="GMAP SNPs map" help="Created by: GMAP iit store" />
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
69 </when>
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
70 </conditional>
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
71 <param name="snps_name" type="text" value="snps" label="Name for this SNP index" help="no white space characters">
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
72 </param>
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
73 </inputs>
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
74 <outputs>
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
75 <!--
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
76 <data format="txt" name="log" label="${tool.name} on ${on_string}: log"/>
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
77 -->
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
78 <data format="gmapsnpindex" name="output" label="${tool.name} on ${on_string} snpindex" />
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
79 </outputs>
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
80 <configfiles>
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
81 <configfile name="shscript">
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
82 #!/bin/bash
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
83 #set $ds = chr(36)
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
84 #set $gt = chr(62)
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
85 #set $lt = chr(60)
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
86 #set $ad = chr(38)
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
87 #import os.path
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
88 #if $refGenomeSource.genomeSource == "gmapdb":
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
89 #set $gmapdb = $refGenomeSource.gmapdb.extra_files_path
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
90 #set $refname = $refGenomeSource.gmapdb.metadata.db_name
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
91 #else:
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
92 #set $gmapdb = $os.path.dirname($refGenomeSource.gmapindex.value)
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
93 $refname = $os.path.basename($refGenomeSource.gmapindex.value)
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
94 #end if
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
95 #set $gmapsnpdir = $output.extra_files_path
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
96 mkdir -p $gmapsnpdir
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
97 #set $snpsname = $snps_name.__str__
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
98 #set $snpsiit = '.'.join([$snpsname,'iit'])
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
99 #set $pathsnps = $os.path.join($gmapsnpdir,$snpsname)
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
100 #set $pathsnpsiit = $os.path.join($gmapsnpdir,$snpsiit)
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
101 #if $dbsnp.snp_source != 'none' and $dbsnp.snps.__str__ != 'None':
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
102 #if $dbsnp.snp_source == 'snpTable':
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
103 #if $dbsnp.snpsex.__str__ != 'None':
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
104 cat $dbsnp.snps | dbsnp_iit -w $dbsnp.weight -e $dbsnp.snpsex | iit_store -o $pathsnps
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
105 #else:
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
106 cat $dbsnp.snps | dbsnp_iit -w $dbsnp.weight | iit_store -o $pathsnps
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
107 #end if
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
108 #elif $dbsnp.snp_source == 'snpFile':
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
109 cat $dbsnp.snps | iit_store -o $pathsnps
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
110 #elif $dbsnp.snp_source == 'snpIIT':
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
111 cat $dbsnp.snps > $pathsnpsiit
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
112 #end if
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
113 snpindex -D $gmapdb -d $refname -V $output.extra_files_path -v $snpsname $pathsnpsiit
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
114 echo snpindex -D $gmapdb -d $refname -V $output.extra_files_path -v $snpsname $pathsnpsiit
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
115 #end if
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
116 </configfile>
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
117 </configfiles>
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
118
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
119 <tests>
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
120 </tests>
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
121
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
122 <help>
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
123
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
124
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
125 **GMAP SNP Index**
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
126
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
127 GMAP SNP Index (snpindex in the GMAP documentaion) creates an index for known SNPs allowing for SNP tolerant mapping and alignment when using GMAP_ (Genomic Mapping and Alignment Program for mRNA and EST sequences) and GSNAP_ (Genomic Short-read Nucleotide Alignment Program).
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
128
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
129 You will want to read the README_
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
130
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
131 Publication_ citation: Thomas D. Wu, Colin K. Watanabe Bioinformatics 2005 21(9):1859-1875; doi:10.1093/bioinformatics/bti310
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
132
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
133 .. _GMAP: http://research-pub.gene.com/gmap/
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
134 .. _GSNAP: http://research-pub.gene.com/gmap/
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
135 .. _README: http://research-pub.gene.com/gmap/src/README
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
136 .. _Publication: http://bioinformatics.oxfordjournals.org/cgi/content/full/21/9/1859
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
137
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
138
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
139 </help>
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
140 </tool>
52da588232b0 Add datatypes for maps and snpindex, add iit_store and snpindex tools, update GMAP and GSNAP to use these.
Jim Johnson <jj@umn.edu>
parents:
diff changeset
141