Repository revision
9:f34ab9882252

Repository 'hicexplorer_hicnormalize'
hg clone https://toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicnormalize

hicNormalize tool metadata
Miscellaneous
hicNormalize
normalizes a matrix to norm range or smallest read count
hicexplorer_hicnormalize
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicnormalize/hicexplorer_hicnormalize/3.7.5+galaxy0
3.7.5+galaxy0
hicNormalize --version
True
Version lineage of this tool (guids ordered most recent to oldest)
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicnormalize/hicexplorer_hicnormalize/3.7.5+galaxy1
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicnormalize/hicexplorer_hicnormalize/3.7.5+galaxy0 (this tool)
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicnormalize/hicexplorer_hicnormalize/3.7.2+galaxy0
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicnormalize/hicexplorer_hicnormalize/3.6+galaxy1
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicnormalize/hicexplorer_hicnormalize/3.6+galaxy0
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicnormalize/hicexplorer_hicnormalize/3.4.3.0
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicnormalize/hicexplorer_hicnormalize/3.4.2.0
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicnormalize/hicexplorer_hicnormalize/3.4.1.0
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicnormalize/hicexplorer_hicnormalize/3.3.1.0
hicexplorer_hicnormalize
Requirements (dependencies defined in the <requirements> tag set)
name version type
hicexplorer 3.7.5 package
Additional information about this tool
#import re

        mkdir output &&
        #for $counter, $m in enumerate($matrix_h5_cooler_multiple):
            ln -s '$m' '${counter}_matrix.$m.ext' &&
        #end for
        #set $m = ' '.join([ '\'%s_matrix.%s\'' % ($counter, $matrix.ext) for $counter, $matrix in enumerate($matrix_h5_cooler_multiple) ])
        #set $m_out = ' '.join([ "'output/%s_norm_%s'" % ($counter, re.sub('[^\s\w\-\.]', '_', str($matrix.element_identifier))) for $counter, $matrix in enumerate($matrix_h5_cooler_multiple) ])

        hicNormalize --matrices $m
        #if $normalize_conditional.normalize == 'multiplicative':
            --multiplicativeValue $normalize_conditional.multiplicativeValue
        #end if
        --normalize $normalize_conditional.normalize
        #if $zero_threshold_value:
            --setToZeroThreshold $zero_threshold_value
        #end if

        --outFileName $m_out

    
None
False
Functional tests
name inputs outputs required files
Test-1 matrix_h5_cooler_multiple: small_test_matrix.cool
normalize_conditional|normalize: norm_range
name: value
small_test_matrix.cool
value
Test-2 matrix_h5_cooler_multiple: ['small_test_matrix.cool', 'small_test_matrix.cool']
normalize_conditional|normalize: smallest
name: value
small_test_matrix.cool
value
Test-3 matrix_h5_cooler_multiple: ['small_test_matrix.h5', 'small_test_matrix.h5']
normalize_conditional|normalize: smallest
name: value
small_test_matrix.h5
value