# HG changeset patch # User drosofff # Date 1460988548 14400 # Node ID ca3845fb0b3169a1c5513566ae1114c7c26eba5c # Parent b996480cd604701f39e60f728376602d4de52a06 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_bowtie_parser commit 70312b58ba246c07e70cdbd0a097f274f1386d09 diff -r b996480cd604 -r ca3845fb0b31 sRbowtieParser.xml --- a/sRbowtieParser.xml Wed May 27 17:19:15 2015 -0400 +++ b/sRbowtieParser.xml Mon Apr 18 10:09:08 2016 -0400 @@ -1,14 +1,12 @@ - + bowtie - samtools pysam numpy - scipy - - sRbowtieParser.py + + python $__tool_directory__/sRbowtieParser.py #if $refGenomeSource.genomeSource == "history": --IndexSource $refGenomeSource.ownFile --ExtractDirective fastaSource @@ -29,7 +27,7 @@ #end for --alignmentLabel #for $i in $refGenomeSource.input_list - "$i.name" + "$i.element_identifier" #end for @@ -40,13 +38,13 @@ - + - + diff -r b996480cd604 -r ca3845fb0b31 smRtools.py --- a/smRtools.py Wed May 27 17:19:15 2015 -0400 +++ b/smRtools.py Mon Apr 18 10:09:08 2016 -0400 @@ -4,7 +4,8 @@ import sys, subprocess from collections import defaultdict from numpy import mean, median, std -from scipy import stats +##Disable scipy import temporarily, as no working scipy on toolshed. +##from scipy import stats def get_fasta (index="/home/galaxy/galaxy-dist/bowtie/5.37_Dmel/5.37_Dmel"): '''This function will return a dictionary containing fasta identifiers as keys and the @@ -273,6 +274,8 @@ def correlation_mapper (self, reference, window_size): '''to map correlation with a sliding window 26-2-2013''' + from scipy import stats + if window_size > self.size: return [] F=open(reference, "r") diff -r b996480cd604 -r ca3845fb0b31 smRtools.pyc Binary file smRtools.pyc has changed diff -r b996480cd604 -r ca3845fb0b31 tool_dependencies.xml --- a/tool_dependencies.xml Wed May 27 17:19:15 2015 -0400 +++ b/tool_dependencies.xml Mon Apr 18 10:09:08 2016 -0400 @@ -3,16 +3,10 @@ - - - - + - - - - +