Repository revision
22:12d51d7be66f

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

hicPlotMatrix tool metadata
Miscellaneous
plot a Hi-C contact matrix heatmap
hicexplorer_hicplotmatrix
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicplotmatrix/hicexplorer_hicplotmatrix/3.7.5+galaxy0
3.7.5+galaxy0
hicPlotMatrix --version
True
Version lineage of this tool (guids ordered most recent to oldest)
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicplotmatrix/hicexplorer_hicplotmatrix/3.7.5+galaxy1
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicplotmatrix/hicexplorer_hicplotmatrix/3.7.5+galaxy0 (this tool)
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicplotmatrix/hicexplorer_hicplotmatrix/3.7.2+galaxy0
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicplotmatrix/hicexplorer_hicplotmatrix/3.6+galaxy1
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicplotmatrix/hicexplorer_hicplotmatrix/3.6+galaxy0
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicplotmatrix/hicexplorer_hicplotmatrix/3.4.3.0
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicplotmatrix/hicexplorer_hicplotmatrix/3.4.2.0
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicplotmatrix/hicexplorer_hicplotmatrix/3.4.1.0
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicplotmatrix/hicexplorer_hicplotmatrix/3.3.1.0
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicplotmatrix/hicexplorer_hicplotmatrix/2.1.4.0
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicplotmatrix/hicexplorer_hicplotmatrix/2.1.2.0
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicplotmatrix/hicexplorer_hicplotmatrix/2.1.0
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicplotmatrix/hicexplorer_hicplotmatrix/2.0.0
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicplotmatrix/hicexplorer_hicplotmatrix/1.8.1.1
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicplotmatrix/hicexplorer_hicplotmatrix/1.8.1.0
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicplotmatrix/hicexplorer_hicplotmatrix/1.8.0
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicplotmatrix/hicexplorer_hicplotmatrix/1.7.2.0
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicplotmatrix/hicexplorer_hicplotmatrix/1.7.1.0
hicexplorer_hicplotmatrix
Requirements (dependencies defined in the <requirements> tag set)
name version type
hicexplorer 3.7.5 package
Additional information about this tool
#if str($pca_conditional.pca_type) == 'bigwig':
            ln -s '$pca_conditional.pca_bigwig' pca.bw &&
            #set $pca = '--bigwig pca.bw'
        #elif str($pca_conditional.pca_type) == 'no_file':
            #set $pca = ''
        #end if
        ln -s $matrix_h5_cooler matrix.$matrix_h5_cooler.ext &&
        hicPlotMatrix
            --matrix 'matrix.$matrix_h5_cooler.ext'

            #if $title and $title is not None:
                --title '$title'
            #end if

            #if $scoreName and $scoreName is not None:
                --scoreName '$scoreName'
            #end if

            --outFileName plot.$image_file_format

            $perChromosome
            $clearMaskedBins

            ## special: --chromosomeOrder is optional, but if given needs at least one argument
            #set chroms = ' '.join([ '\'' + str($var.chromosome) + '\'' for $var in $chromosomeOrder ])
            #if chroms:
                --chromosomeOrder $chroms
            #end if

            #if $region:
                --region '$region'
            #end if

            #if $region2:
                --region2 '$region2'
            #end if
            $log1p
            $log

            #if $colormap:
                --colorMap $colormap
            #end if

            #if $vMin:
                --vMin $vMin
            #end if

            #if $vMax:
                --vMax $vMax
            #end if

            #if str($pca_conditional.pca_type) == 'bigwig':
                #if $pca_conditional.vMinBigwig:
                    --vMinBigwig $pca_conditional.vMinBigwig
                #end if
                #if $pca_conditional.vMaxBigwig:
                    --vMaxBigwig $pca_conditional.vMaxBigwig
                #end if
                $pca_conditional.flipBigwigSign

                #if $pca_conditional.scaleFactorBigwig:
                    --scaleFactorBigwig $pca_conditional.scaleFactorBigwig
                #end if
                $pca_conditional.bigwigAdditionalVerticalAxis
            #end if
            $pca
            #if $dpi:
                --dpi $dpi
            #end if

            #if $fontSize:
                --fontSize $fontSize
            #end if

            #if $rotationX:
                --rotationX $rotationX
            #end if

            #if $rotationY:
                --rotationY $rotationY
            #end if

            #if $increaseFigureWidth:
                --increaseFigureWidth $increaseFigureWidth
            #end if

            #if $increaseFigureHeight:
                --increaseFigureHeight $increaseFigureHeight
            #end if

            #if str($loop_conditional.loop_selector) == 'yes':
                    --loops $loop_conditional.loops
                    --loopLargeRegionsOperation $loop_conditional.loops_large_selector
            #end if

            #if $tads:
                --tads '$tads'
            #end if
        && mv plot.$image_file_format plot

    
None
False
Functional tests
name inputs outputs required files
Test-1 matrix_h5_cooler: small_test_matrix.h5
clearMaskedBins: True
region: chr2L:3000000-3500000
region2: chr2L:3100000-3600000
log1p: True
pca_conditional|pca_type: no_file
image_file_format: png
dpi: 10
name: value
small_test_matrix.h5
value
Test-2 matrix_h5_cooler: small_test_matrix.cool
region: chr2L:3000000-3500000
pca_conditional|pca_type: no_file
image_file_format: pdf
dpi: 10
name: value
small_test_matrix.cool
value
Test-3 matrix_h5_cooler: small_test_matrix.cool
region: chr2L:3000000-3500000
colormap: hot
pca_conditional|pca_bigwig: hicPCA/pca1_test1.bw
pca_conditional|vMinBigwig: 10
pca_conditional|vMaxBigwig: 20
pca_conditional|flipBigwigSign: True
pca_conditional|scaleFactorBigwig: 2000
pca_conditional|pca_type: bigwig
image_file_format: svg
dpi: 10
name: value
small_test_matrix.cool
hicPCA/pca1_test1.bw
value