# HG changeset patch # User bgruening # Date 1385733544 18000 # Node ID c54d31467be4a4e6ac7a3d3aebb30c1043e2f96f # Parent ac935c35437ab61db0036ac32118bf48c0ca2271 Uploaded diff -r ac935c35437a -r c54d31467be4 bamCorrelate.xml --- a/bamCorrelate.xml Sat Nov 16 07:54:13 2013 -0500 +++ b/bamCorrelate.xml Fri Nov 29 08:59:04 2013 -0500 @@ -15,14 +15,7 @@ bamCorrelate - #if $mode.modeOpt == "bins": - bins - --binSize '$mode.binSize' - --numberOfSamples '$mode.numberOfSamples' - #else: - BED-file - --BED $mode.region_file - #end if + $mode.modeOpt @THREADS@ @@ -40,6 +33,13 @@ --outFileCorMatrix '$outFileCorMatrix' #end if + #if $mode.modeOpt == "bins": + --binSize '$mode.binSize' + --numberOfSamples '$mode.numberOfSamples' + #else: + --BED $mode.region_file + #end if + ## options available in both modes #if $mode.advancedOpt.showAdvancedOpt == "yes": diff -r ac935c35437a -r c54d31467be4 computeGCBias.xml --- a/computeGCBias.xml Sat Nov 16 07:54:13 2013 -0500 +++ b/computeGCBias.xml Fri Nov 29 08:59:04 2013 -0500 @@ -8,63 +8,52 @@ deepTools_macros.xml - #import tempfile - #set $temp_dir = os.path.abspath(tempfile.mkdtemp()) + ln -s $bamInput local_bamInput.bam; + ln -s $bamInput.metadata.bam_index local_bamInput.bam.bai; - #set $temp_bam_handle = tempfile.NamedTemporaryFile( dir=$temp_dir ) - #set $temp_bam_path = $temp_bam_handle.name + '.bam' - #silent $temp_bam_handle.close() - #silent os.system("ln -s %s %s" % (str($bamInput), $temp_bam_path)) - #silent os.system("ln -s %s %s.bai" % (str($bamInput.metadata.bam_index), $temp_bam_path)) + computeGCBias - computeGCBias - - @THREADS@ + @THREADS@ - --bamfile '$temp_bam_path' - --GCbiasFrequenciesFile $outFileName - --fragmentLength $fragmentLength + --bamfile 'local_bamInput.bam' + --GCbiasFrequenciesFile $outFileName + --fragmentLength $fragmentLength - @reference_genome_source@ - + @reference_genome_source@ - #if $effectiveGenomeSize.effectiveGenomeSize_opt == "specific": - --effectiveGenomeSize $effectiveGenomeSize.effectiveGenomeSize - #else: - --effectiveGenomeSize $effectiveGenomeSize.effectiveGenomeSize_opt - #end if - + #if $effectiveGenomeSize.effectiveGenomeSize_opt == "specific": + --effectiveGenomeSize $effectiveGenomeSize.effectiveGenomeSize + #else: + --effectiveGenomeSize $effectiveGenomeSize.effectiveGenomeSize_opt + #end if - #if $advancedOpt.showAdvancedOpt == "yes": - #if str($advancedOpt.region.value) != '': - --region '$advancedOpt.region' - #end if - - --sampleSize '$advancedOpt.sampleSize' - --regionSize '$advancedOpt.regionSize' + #if $advancedOpt.showAdvancedOpt == "yes": + #if str($advancedOpt.region.value) != '': + --region '$advancedOpt.region' + #end if - #if $advancedOpt.filterOut: - --filterOut $advancedOpt.filterOut - #end if + --sampleSize '$advancedOpt.sampleSize' + --regionSize '$advancedOpt.regionSize' + + #if $advancedOpt.filterOut: + --filterOut $advancedOpt.filterOut + #end if - #if $advancedOpt.extraSampling: - --extraSampling $advancedOpt.extraSampling - #end if - - #end if + #if $advancedOpt.extraSampling: + --extraSampling $advancedOpt.extraSampling + #end if + #end if - #if $saveBiasPlot: - --biasPlot $biasPlot - #end if + #if $saveBiasPlot: + --biasPlot $biasPlot + #end if -## #if $output.showOutputSettings == "yes" -## #if $output.saveBiasPlot: -## --biasPlot biasPlot.png ; -## mv biasPlot.png $biasPlot -## #end if -## #end if - - ; rm $temp_dir -rf + ## #if $output.showOutputSettings == "yes" + ## #if $output.saveBiasPlot: + ## --biasPlot biasPlot.png ; + ## mv biasPlot.png $biasPlot + ## #end if + ## #end if diff -r ac935c35437a -r c54d31467be4 correctGCBias.xml --- a/correctGCBias.xml Sat Nov 16 07:54:13 2013 -0500 +++ b/correctGCBias.xml Fri Nov 29 08:59:04 2013 -0500 @@ -16,6 +16,9 @@ correctGCBias + + @THREADS@ + --bamfile '$temp_bam_path' --GCbiasFrequenciesFile $GCbiasFrequenciesFile diff -r ac935c35437a -r c54d31467be4 deepTools_macros.xml --- a/deepTools_macros.xml Sat Nov 16 07:54:13 2013 -0500 +++ b/deepTools_macros.xml Fri Nov 29 08:59:04 2013 -0500 @@ -46,7 +46,7 @@ deepTools ucsc_tools numpy - pysam + pysam samtools diff -r ac935c35437a -r c54d31467be4 readme.rst --- a/readme.rst Sat Nov 16 07:54:13 2013 -0500 +++ b/readme.rst Fri Nov 29 08:59:04 2013 -0500 @@ -29,7 +29,7 @@ Citation ======== -deeptools are currently under review. In the meantime please refere to +deeptools are currently under review. In the meantime please refere to https://github.com/fidelram/deepTools. ======= @@ -39,25 +39,23 @@ - v1.0: Initial public release -=============================== -Wrapper Licence (MIT/BSD style) -=============================== +Licence (MIT) +============= + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: -Permission to use, copy, modify, and distribute this software and its -documentation with or without modifications and for any purpose and -without fee is hereby granted, provided that any copyright notices -appear in all copies and that both those copyright notices and this -permission notice appear in supporting documentation, and that the -names of the contributors or copyright holders not be used in -advertising or publicity pertaining to distribution of the software -without specific prior permission. +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. -THE CONTRIBUTORS AND COPYRIGHT HOLDERS OF THIS SOFTWARE DISCLAIM ALL -WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL THE -CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT -OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS -OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE -OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE -OR PERFORMANCE OF THIS SOFTWARE. - +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff -r ac935c35437a -r c54d31467be4 tool_dependencies.xml --- a/tool_dependencies.xml Sat Nov 16 07:54:13 2013 -0500 +++ b/tool_dependencies.xml Fri Nov 29 08:59:04 2013 -0500 @@ -4,16 +4,16 @@ - + - + - - + + @@ -59,8 +59,8 @@ - - + + git clone --recursive https://github.com/fidelram/deepTools.git