Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix fully overlap reads #1220

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion deeptools/countReadsPerBin.py
Original file line number Diff line number Diff line change
Expand Up @@ -899,7 +899,7 @@ def get_fragment_from_read(self, read):
fragmentStart = int(fragmentCenter - read.infer_query_length(always=False) / 2)
fragmentEnd = fragmentStart + read.infer_query_length(always=False)

assert fragmentStart < fragmentEnd, "fragment start greater than fragment" \
assert fragmentStart <= fragmentEnd, "fragment start greater than fragment" \
"end for read {}".format(read.query_name)
return [(fragmentStart, fragmentEnd)]

Expand Down
2 changes: 1 addition & 1 deletion galaxy/wrapper/alignmentSieve.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<tool id="deeptools_alignmentsieve" name="alignmentsieve" version="@[email protected]">
<tool id="deeptools_alignmentsieve" name="alignmentsieve" version="@TOOL_VERSION@+galaxy0" profile="@GALAXY_VERSION@">
<description>Filter BAM/CRAM files according to specified parameters</description>
<macros>
<token name="@BINARY@">alignmentSieve</token>
Expand Down
2 changes: 1 addition & 1 deletion galaxy/wrapper/bamCompare.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<tool id="deeptools_bam_compare" name="bamCompare" version="@[email protected]">
<tool id="deeptools_bam_compare" name="bamCompare" version="@TOOL_VERSION@+galaxy0" profile="@GALAXY_VERSION@">
<description>normalizes and compares two BAM or CRAM files to obtain the ratio, log2ratio or difference between them</description>
<macros>
<token name="@BINARY@">bamCompare</token>
Expand Down
2 changes: 1 addition & 1 deletion galaxy/wrapper/bamCoverage.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<tool id="deeptools_bam_coverage" name="bamCoverage" version="@[email protected]">
<tool id="deeptools_bam_coverage" name="bamCoverage" version="@TOOL_VERSION@+galaxy0" profile="@GALAXY_VERSION@">
<description>generates a coverage bigWig file from a given BAM or CRAM file</description>
<macros>
<token name="@BINARY@">bamCoverage</token>
Expand Down
2 changes: 1 addition & 1 deletion galaxy/wrapper/bamPEFragmentSize.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<tool id="deeptools_bam_pe_fragmentsize" name="bamPEFragmentSize" version="@[email protected]" profile="18.01">
<tool id="deeptools_bam_pe_fragmentsize" name="bamPEFragmentSize" version="@TOOL_VERSION@+galaxy0" profile="@GALAXY_VERSION@">
<description>Estimate the predominant cDNA fragment length from paired-end sequenced BAM/CRAM files</description>
<macros>
<token name="@BINARY@">bamPEFragmentSize</token>
Expand Down
2 changes: 1 addition & 1 deletion galaxy/wrapper/bigwigAverage.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<tool id="deeptools_bigwig_average" name="bigwigAverage" version="@WRAPPER_VERSION@+galaxy0">
<tool id="deeptools_bigwig_average" name="bigwigAverage" version="@TOOL_VERSION@+galaxy0" profile="@GALAXY_VERSION@">
<description>normalizes and average multiple bigWig files</description>
<macros>
<token name="@BINARY@">bigwigAverage</token>
Expand Down
2 changes: 1 addition & 1 deletion galaxy/wrapper/bigwigCompare.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<tool id="deeptools_bigwig_compare" name="bigwigCompare" version="@[email protected]">
<tool id="deeptools_bigwig_compare" name="bigwigCompare" version="@TOOL_VERSION@+galaxy0" profile="@GALAXY_VERSION@">
<description>normalizes and compares two bigWig files to obtain the ratio, log2ratio or difference between them</description>
<macros>
<token name="@BINARY@">bigwigCompare</token>
Expand Down
2 changes: 1 addition & 1 deletion galaxy/wrapper/computeGCBias.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<tool id="deeptools_compute_gc_bias" name="computeGCBias" version="@[email protected]" profile="18.01">
<tool id="deeptools_compute_gc_bias" name="computeGCBias" version="@TOOL_VERSION@+galaxy0" profile="@GALAXY_VERSION@">
<description>Determine the GC bias of your sequenced reads</description>
<macros>
<token name="@BINARY@">computeGCBias</token>
Expand Down
2 changes: 1 addition & 1 deletion galaxy/wrapper/computeMatrix.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<tool id="deeptools_compute_matrix" name="computeMatrix" version="@[email protected]">
<tool id="deeptools_compute_matrix" name="computeMatrix" version="@TOOL_VERSION@+galaxy0" profile="@GALAXY_VERSION@">
<description>prepares data for plotting a heatmap or a profile of given regions</description>
<macros>
<token name="@BINARY@">computeMatrix</token>
Expand Down
2 changes: 1 addition & 1 deletion galaxy/wrapper/computeMatrixOperations.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<tool id="deeptools_compute_matrix_operations" name="computeMatrixOperations" version="@[email protected]">
<tool id="deeptools_compute_matrix_operations" name="computeMatrixOperations" version="@TOOL_VERSION@+galaxy0" profile="@GALAXY_VERSION@">
<description>Modify or combine the output of computeMatrix in a variety of ways.</description>
<macros>
<token name="@BINARY@">computeMatrixOperations</token>
Expand Down
2 changes: 1 addition & 1 deletion galaxy/wrapper/correctGCBias.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<tool id="deeptools_correct_gc_bias" name="correctGCBias" version="@[email protected]">
<tool id="deeptools_correct_gc_bias" name="correctGCBias" version="@TOOL_VERSION@+galaxy0" profile="@GALAXY_VERSION@">
<description>uses the output from computeGCBias to generate GC-corrected BAM/CRAM files</description>
<macros>
<token name="@BINARY@">correctGCBias</token>
Expand Down
5 changes: 3 additions & 2 deletions galaxy/wrapper/deepTools_macros.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
<macros>

<token name="@THREADS@">--numberOfProcessors "\${GALAXY_SLOTS:-4}"</token>
<token name="@WRAPPER_VERSION@">3.5.1.0</token>
<token name="@TOOL_VERSION@">3.5.2</token>
<token name="@GALAXY_VERSION@">20.01</token>
<xml name="requirements">
<requirements>
<requirement type="package" version="3.5.1">deeptools</requirement>
<requirement type="package" version="@TOOL_VERSION@">deeptools</requirement>
<requirement type="package" version="1.9">samtools</requirement>
</requirements>
<expand macro="stdio" />
Expand Down
2 changes: 1 addition & 1 deletion galaxy/wrapper/estimateReadFiltering.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<tool id="deeptools_estimatereadfiltering" name="estimateReadFiltering" version="@[email protected]">
<tool id="deeptools_estimatereadfiltering" name="estimateReadFiltering" version="@TOOL_VERSION@+galaxy0" profile="@GALAXY_VERSION@">
<description>estimates the number of reads that would be filtered given certain criteria</description>
<macros>
<token name="@BINARY@">estimateReadFiltering</token>
Expand Down
2 changes: 1 addition & 1 deletion galaxy/wrapper/multiBamSummary.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<tool id="deeptools_multi_bam_summary" name="multiBamSummary" version="@[email protected]">
<tool id="deeptools_multi_bam_summary" name="multiBamSummary" version="@TOOL_VERSION@+galaxy0" profile="@GALAXY_VERSION@">
<description>calculates average read coverages for a list of two or more BAM/CRAM files</description>
<macros>
<token name="@BINARY@">multiBamSummary</token>
Expand Down
2 changes: 1 addition & 1 deletion galaxy/wrapper/multiBigwigSummary.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<tool id="deeptools_multi_bigwig_summary" name="multiBigwigSummary" version="@[email protected]">
<tool id="deeptools_multi_bigwig_summary" name="multiBigwigSummary" version="@TOOL_VERSION@+galaxy0" profile="@GALAXY_VERSION@">
<description>calculates average scores for a list of two or more bigwig files</description>
<macros>
<token name="@BINARY@">multiBigwigSummary</token>
Expand Down
2 changes: 1 addition & 1 deletion galaxy/wrapper/plotCorrelation.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<tool id="deeptools_plot_correlation" name="plotCorrelation" version="@[email protected]" profile="18.01">
<tool id="deeptools_plot_correlation" name="plotCorrelation" version="@TOOL_VERSION@+galaxy0" profile="@GALAXY_VERSION@">
<description>Create a heatmap or scatterplot of correlation scores between different samples </description>
<macros>
<token name="@BINARY@">plotCorrelation</token>
Expand Down
2 changes: 1 addition & 1 deletion galaxy/wrapper/plotCoverage.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<tool id="deeptools_plot_coverage" name="plotCoverage" version="@[email protected]" profile="18.01">
<tool id="deeptools_plot_coverage" name="plotCoverage" version="@TOOL_VERSION@+galaxy0" profile="@GALAXY_VERSION@">
<description>assesses the sequencing depth of BAM/CRAM files </description>
<macros>
<token name="@BINARY@">plotCoverage</token>
Expand Down
2 changes: 1 addition & 1 deletion galaxy/wrapper/plotEnrichment.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<tool id="deeptools_plot_enrichment" name="plotEnrichment" version="@[email protected]" profile="18.01">
<tool id="deeptools_plot_enrichment" name="plotEnrichment" version="@TOOL_VERSION@+galaxy0" profile="@GALAXY_VERSION@">
<description>plots read/fragment coverage over sets of regions</description>
<macros>
<token name="@BINARY@">plotEnrichment</token>
Expand Down
2 changes: 1 addition & 1 deletion galaxy/wrapper/plotFingerprint.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<tool id="deeptools_plot_fingerprint" name="plotFingerprint" version="@[email protected]" profile="18.01">
<tool id="deeptools_plot_fingerprint" name="plotFingerprint" version="@TOOL_VERSION@+galaxy0" profile="@GALAXY_VERSION@">
<description>plots profiles of BAM files; useful for assessing ChIP signal strength</description>
<macros>
<token name="@BINARY@">plotFingerprint</token>
Expand Down
2 changes: 1 addition & 1 deletion galaxy/wrapper/plotHeatmap.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<tool id="deeptools_plot_heatmap" name="plotHeatmap" version="@[email protected]" profile="18.01">
<tool id="deeptools_plot_heatmap" name="plotHeatmap" version="@TOOL_VERSION@+galaxy0" profile="@GALAXY_VERSION@">
<description>creates a heatmap for score distributions across genomic regions</description>
<macros>
<token name="@BINARY@">plotHeatmap</token>
Expand Down
2 changes: 1 addition & 1 deletion galaxy/wrapper/plotPCA.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<tool id="deeptools_plot_pca" name="plotPCA" version="@[email protected]" profile="18.01">
<tool id="deeptools_plot_pca" name="plotPCA" version="@TOOL_VERSION@+galaxy0" profile="@GALAXY_VERSION@">
<description>Generate principal component analysis (PCA) plots from multiBamSummary or multiBigwigSummary output</description>
<macros>
<token name="@BINARY@">plotPCA</token>
Expand Down
2 changes: 1 addition & 1 deletion galaxy/wrapper/plotProfiler.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<tool id="deeptools_plot_profile" name="plotProfile" version="@[email protected]" profile="18.01">
<tool id="deeptools_plot_profile" name="plotProfile" version="@TOOL_VERSION@+galaxy0" profile="@GALAXY_VERSION@">
<description>
creates a profile plot for score distributions across genomic regions
</description>
Expand Down