Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
73069e4
Add Docker container requirement for deepTools
pavanvidem Sep 8, 2026
32f83d1
Update deeptools requirement in deepTools_macros.xml
pavanvidem Sep 8, 2026
59af6ef
testing an obsolete param
pavanvidem Sep 9, 2026
e651df5
use *_old binaries
pavanvidem Sep 9, 2026
93704d1
revert old binary usage
pavanvidem Sep 10, 2026
aff01a6
remove --ignoreDuplicates from bamCoverage, bamCompare, multiBamSumma…
pavanvidem Sep 10, 2026
09c0032
Remove --exactScaling entirely
pavanvidem Sep 10, 2026
094bf3f
Remove SES option for --scaleFactorsMethod, --sampleLength and --numb…
pavanvidem Sep 10, 2026
2e6b71e
Remove plotly inputs and outputs everywhere
pavanvidem Sep 10, 2026
e48dc0f
Remove --plotTitle from bigwigCompare
pavanvidem Sep 10, 2026
2f95e16
add --no_collapse option and include it in tests
pavanvidem Sep 10, 2026
d3ade57
add --sortUsingSamples to computeMatrix
pavanvidem Sep 10, 2026
3a832f3
add --chromosomesToSkip and a test to multiBigwigSummary
pavanvidem Sep 10, 2026
eec5492
add --fixedStep param and a test to bigwigCompare
pavanvidem Sep 10, 2026
e093d10
add --boxAroundHeatmaps param and a test to plotHeatmap
pavanvidem Sep 10, 2026
12756f9
add fixedStep commandline
pavanvidem Sep 10, 2026
6924c72
add --ggplot param
pavanvidem Sep 10, 2026
6a37ab8
add --interpolationMethod to plotHeatmap
pavanvidem Sep 10, 2026
db0cec3
add --clusterUsingSamples to plotHeatmap and plotProfiler
pavanvidem Sep 10, 2026
be71e73
add --refPointLabel to plotProfiler and remove conditional
pavanvidem Sep 10, 2026
d39586f
add --labels --addLabels to plotPCA and plotProfile
pavanvidem Sep 10, 2026
3c907ad
add --transcriptID --transcript_id_designator to computeMatrixOperations
pavanvidem Sep 10, 2026
4f0b3e7
Use correct param defaults
pavanvidem Sep 10, 2026
bd65c15
remove duplicate use of params in plotEnrichment
pavanvidem Sep 10, 2026
a520f4a
simplify and merge common params into macros
pavanvidem Sep 10, 2026
86e5e29
fix cheetah to match param datatypes
pavanvidem Sep 11, 2026
122d919
make conditionals and repeats in tests compatible with newer profiles
pavanvidem Sep 11, 2026
547d678
Fix most of the tests
pavanvidem Sep 12, 2026
c513f5d
add additional test outputs
pavanvidem Sep 12, 2026
84e3893
fix more tests
pavanvidem Sep 12, 2026
2dbbaf7
Fix cheetah error in plotPCA and plotCorrelaton
pavanvidem Sep 12, 2026
fb882b4
fix --samplesLabels param in bamPEFragmentSize.xml
pavanvidem Sep 12, 2026
598d097
try image_diff
pavanvidem Sep 12, 2026
4e9e698
replace sim_size with image_diff
pavanvidem Sep 12, 2026
f6bb29b
updates images
pavanvidem Sep 12, 2026
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
6 changes: 3 additions & 3 deletions galaxy/wrapper/alignmentSieve.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
--filteredOutReads '$outFileFiltered'
#end if

#if str($shift) != "":
#if $shift:
#set shifts = " ".join(["'{}'".format(x) for x in $shift.split(" ")])
--shift $shifts
#elif $ATACshift:
Expand All @@ -72,7 +72,7 @@
#if $BED:
--BED
-o '$outFile'
#elif str($shift) != "" or $ATACshift:
#elif $shift or $ATACshift:
-o foo.bam &&
samtools sort -o '$outFile' -T foo.tmp -@ "\${GALAXY_SLOTS:-4}" foo.bam &&
rm foo.bam
Expand All @@ -85,7 +85,7 @@
<inputs>
<param name="bamfile" format="bam,cram" type="data" label="BAM file"/>
<param argument="--BED" type="boolean" label="Output in BEDPE format?" help="Instead of producing BAM files, write output in BEDPE format (as defined by MACS2). Note that only reads/fragments passing filtering criterion are written in BEDPE format."/>
<param argument="--shift" type="text" label="Amount to shift fragments" value=""
<param argument="--shift" type="text" label="Amount to shift fragments" value="" optional="true" size="30"
help="Shift the left and right end of a fragment. A positive
value shift an end to the right (on the + strand) and
a negative value shifts a fragment to the left. Either
Expand Down
96 changes: 39 additions & 57 deletions galaxy/wrapper/bamCompare.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,7 @@

--binSize $binSize

#if $scaling.method == 'SES':
--scaleFactorsMethod SES
--sampleLength $scaling.sampleLength
--numberOfSamples $scaling.numberOfSamples
#elif $scaling.method == 'readCount':
#if $scaling.method == 'readCount':
--scaleFactorsMethod readCount
#elif $scaling.method == 'own':
--scaleFactors '$scaling.scaleFactor1:$scaling.scaleFactor2'
Expand All @@ -46,26 +42,26 @@
#end if

--operation $comparison.type
$exactScaling

#if $comparison.type in ['ratio','log2']:
#if $comparison.type in ['ratio','log2','reciprocal_ratio']:
--pseudocount $comparison.pseudocount
#end if

#if str($region).strip() != '':
#if $region:
--region '$region'
#end if

#if $advancedOpt.showAdvancedOpt == "yes":
#if $advancedOpt.smoothLength:
--smoothLength '$advancedOpt.smoothLength'
--smoothLength $advancedOpt.smoothLength
#end if

@ADVANCED_OPTS_READ_PROCESSING@
$advancedOpt.no_collapse
$advancedOpt.skipNAs
$advancedOpt.skipZeroOverZero

#if str($advancedOpt.ignoreForNormalization).strip() != '':
#if $advancedOpt.ignoreForNormalization:
--ignoreForNormalization '$advancedOpt.ignoreForNormalization'
#end if

Expand All @@ -84,17 +80,9 @@
<param name="method" type="select"
label="Method to use for scaling the largest sample to the smallest">
<option value="readCount" selected="true">read count</option>
<option value="SES">signal extraction scaling (SES), check with plotFingerprint before using it!</option>
<option value="own">enter own scaling factors</option>
<option value="None">Don't scale reads. Samples can instead be normalized using one of the normalization methods</option>
</param>
<when value="SES">
<param argument="--sampleLength" type="integer" value="1000" min="10"
label="Length in bases used to sample the genome and compute the size or scaling factors."
help="The default is fine. Only change it if you know what you are doing."/>
<param argument="--numberOfSamples" type="integer" value="100000" min="0"
label="Number of samplings taken from the genome to compute the scaling factors"/>
</when>
<when value="readCount"/>
<when value="own">
<expand macro="scaleFactors"/>
Expand Down Expand Up @@ -142,34 +130,26 @@
</when>
</conditional>

<expand macro="exactScaling"/>
<param name="outFileFormat" type="select" label="Coverage file format">
<option value="bigwig" selected="true">bigwig</option>
<option value="bedgraph">bedgraph</option>
</param>
<expand macro="region_limit_operation"/>
<conditional name="advancedOpt">
<param name="showAdvancedOpt" type="select" label="Show advanced options" >
<option value="no" selected="true">no</option>
<option value="yes">yes</option>
</param>
<when value="no"/>
<when value="yes">
<expand macro="smoothLength"/>
<expand macro="read_processing_options"/>

<expand macro="skipNAs"/>
<expand macro="skipZeroOverZero"/>
<expand macro="advancedOpt_scaffold">
<expand macro="smoothLength"/>
<expand macro="read_processing_options"/>
<expand macro="no_collapse"/>
<expand macro="skipNAs"/>
<expand macro="skipZeroOverZero"/>

<param argument="--ignoreForNormalization" type="text" value="" size="50"
label="regions that should be excluded for calculating the scaling factor"
help="Sometimes it makes sense to exclude certain regions when calculating the scaling factor.
For example, if you know of copy number variations between samples then you may want to exclude these.
Another typical example is the difference in chromosome X copies between males and females in many species.
Example inputs are chrX,chrY,chr3 or chr10:12220-128932"/>
<expand macro="blacklist"/>
</when>
</conditional>
<param argument="--ignoreForNormalization" type="text" value="" size="50" optional="true"
label="regions that should be excluded for calculating the scaling factor"
help="Sometimes it makes sense to exclude certain regions when calculating the scaling factor.
For example, if you know of copy number variations between samples then you may want to exclude these.
Another typical example is the difference in chromosome X copies between males and females in many species.
Example inputs are chrX,chrY,chr3 or chr10:12220-128932"/>
<expand macro="blacklist"/>
</expand>
</inputs>
<outputs>
<data format="bigwig" name="outFileName">
Expand All @@ -183,19 +163,20 @@
<test expect_num_outputs="1">
<param name="bamFile1" value="bowtie2 test1.bam" ftype="bam"/>
<param name="bamFile2" value="bowtie2 test1.bam" ftype="bam"/>
<param name="showAdvancedOpt" value="no"/>
<param name="advancedOpt|showAdvancedOpt" value="no"/>
<param name="outFileFormat" value="bedgraph"/>
<param name="binSize" value="5"/>
<param name="type" value="ratio"/>
<param name="comparison|type" value="ratio"/>
<output name="outFileName" file="bamCompare_result1.bg" ftype="bedgraph"/>
</test>
<test expect_num_outputs="1">
<param name="bamFile1" value="bowtie2 test1.bam" ftype="bam"/>
<param name="bamFile2" value="bowtie2 test1.bam" ftype="bam"/>
<param name="showAdvancedOpt" value="yes"/>
<param name="advancedOpt|showAdvancedOpt" value="yes"/>
<param name="outFileFormat" value="bigwig"/>
<param name="binSize" value="10"/>
<param name="type" value="ratio"/>
<param name="comparison|type" value="ratio"/>
<param name="advancedOpt|no_collapse" value="false"/>
<output name="outFileName" file="bamCompare_result2.bw" ftype="bigwig"/>
</test>
<!-- Test with BAM and CRAM file as input
Expand Down Expand Up @@ -232,11 +213,12 @@
<test expect_num_outputs="1">
<param name="bamFile1" value="testA.bam" ftype="bam"/>
<param name="bamFile2" value="testB.bam" ftype="bam"/>
<param name="showAdvancedOpt" value="yes"/>
<param name="advancedOpt|showAdvancedOpt" value="yes"/>
<param name="outFileFormat" value="bedgraph"/>
<param name="binSize" value="10"/>
<param name="type" value="ratio"/>
<param name="pseudocount" value="1 1"/>
<param name="advancedOpt|no_collapse" value="false"/>
<param name="comparison|type" value="ratio"/>
<param name="comparison|pseudocount" value="1 1"/>
<output name="outFileName" ftype="bedgraph">
<assert_contents>
<has_text_matching expression="3R\t0\t50\t1"/>
Expand All @@ -250,28 +232,28 @@
<test expect_num_outputs="1">
<param name="bamFile1" value="testA.bam" ftype="bam"/>
<param name="bamFile2" value="testB.bam" ftype="bam"/>
<param name="showAdvancedOpt" value="yes"/>
<param name="advancedOpt|showAdvancedOpt" value="yes"/>
<param name="outFileFormat" value="bedgraph"/>
<param name="binSize" value="10"/>
<param name="type" value="ratio"/>
<param name="skipZeroOverZero" value="--skipZeroOverZero"/>
<param name="comparison|type" value="ratio"/>
<param name="advancedOpt|skipZeroOverZero" value="--skipZeroOverZero"/>
<output name="outFileName" ftype="bedgraph">
<assert_contents>
<has_text_matching expression="3R\t50\t100\t0.67"/>
<has_text_matching expression="3R\t100\t150\t1.33"/>
<has_text_matching expression="3R\t150\t200\t1"/>
<has_text_matching expression="3R\t90\t100\t0.67"/>
<has_text_matching expression="3R\t140\t150\t1.33"/>
<has_text_matching expression="3R\t190\t200\t1"/>
</assert_contents>
</output>
</test>
<!-- Test with BAM files with skipNAs -->
<test expect_num_outputs="1">
<param name="bamFile1" value="testA.bam" ftype="bam"/>
<param name="bamFile2" value="testB.bam" ftype="bam"/>
<param name="showAdvancedOpt" value="yes"/>
<param name="advancedOpt|showAdvancedOpt" value="yes"/>
<param name="outFileFormat" value="bedgraph"/>
<param name="binSize" value="10"/>
<param name="type" value="ratio"/>
<param name="skipNAs" value="true"/>
<param name="binSize" value="50"/>
<param name="comparison|type" value="ratio"/>
<param name="advancedOpt|skipNAs" value="true"/>
<output name="outFileName" ftype="bedgraph">
<assert_contents>
<has_text_matching expression="3R\t100\t150\t1.33"/>
Expand Down
Loading
Loading