# HG changeset patch # User mvdbeek # Date 1434919716 14400 # Node ID 4895f7c6ae4debc62a059d7c43b2a35b0fa7b9ce # Parent eee9701a7491c3c1269f8f6c43ed3c7a4a9f4110 planemo upload for repository https://bitbucket.org/drosofff/gedtools/ diff -r eee9701a7491 -r 4895f7c6ae4d readmap.xml --- a/readmap.xml Sun Mar 29 13:07:57 2015 -0400 +++ b/readmap.xml Sun Jun 21 16:48:36 2015 -0400 @@ -1,13 +1,11 @@ - + from sRbowtie aligment bowtie samtools pysam biocbasics - R numpy - scipy readmap.py diff -r eee9701a7491 -r 4895f7c6ae4d smRtools.py --- a/smRtools.py Sun Mar 29 13:07:57 2015 -0400 +++ b/smRtools.py Sun Jun 21 16:48:36 2015 -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 eee9701a7491 -r 4895f7c6ae4d tool_dependencies.xml --- a/tool_dependencies.xml Sun Mar 29 13:07:57 2015 -0400 +++ b/tool_dependencies.xml Sun Jun 21 16:48:36 2015 -0400 @@ -9,37 +9,10 @@ - - + + - - - - - - - - $INSTALL_DIR - echo "bioclite=\"http://bioconductor.org/biocLite.R\"" > $INSTALL_DIR/runme.R - echo "source(bioclite)" >> $INSTALL_DIR/runme.R - echo "installme=c(\"lattice\",\"latticeExtra\")" >> $INSTALL_DIR/runme.R - echo "biocLite()" >> $INSTALL_DIR/runme.R - echo "biocLite(installme)" >> $INSTALL_DIR/runme.R - echo "install.packages(c(\"gridBase\",\"gridExtra\"),dependencies=T,repos=\"http://cran.us.r-project.org\")" >> $INSTALL_DIR/runme.R - echo "quit(save=\"no\")" >> $INSTALL_DIR/runme.R - export PATH=$PATH && R CMD BATCH $INSTALL_DIR/runme.R - - - - - - - - - Installs some basic bioc packages for the lattice wrapper and grid + gridExtra for managing lattice panels - It's clunky but this is the most convenient way iuc could get anything installed into the package_r3 - Note we use cran at fred hutch since no fastest mirror thingy - +