Repository revision
24:d9967770de96

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

hicBuildMatrix tool metadata
Miscellaneous
create a contact matrix
hicexplorer_hicbuildmatrix
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicbuildmatrix/hicexplorer_hicbuildmatrix/3.7.6+galaxy1
3.7.6+galaxy1
hicBuildMatrix --version
True
Version lineage of this tool (guids ordered most recent to oldest)
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicbuildmatrix/hicexplorer_hicbuildmatrix/3.7.6+galaxy1 (this tool)
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicbuildmatrix/hicexplorer_hicbuildmatrix/3.7.5+galaxy1
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicbuildmatrix/hicexplorer_hicbuildmatrix/3.7.5+galaxy0
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicbuildmatrix/hicexplorer_hicbuildmatrix/3.7.2+galaxy0
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicbuildmatrix/hicexplorer_hicbuildmatrix/3.6+galaxy1
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicbuildmatrix/hicexplorer_hicbuildmatrix/3.6+galaxy0
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicbuildmatrix/hicexplorer_hicbuildmatrix/3.4.3.0
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicbuildmatrix/hicexplorer_hicbuildmatrix/3.4.2.0
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicbuildmatrix/hicexplorer_hicbuildmatrix/3.4.1.0
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicbuildmatrix/hicexplorer_hicbuildmatrix/3.3.1.0
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicbuildmatrix/hicexplorer_hicbuildmatrix/2.1.4.0
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicbuildmatrix/hicexplorer_hicbuildmatrix/2.1.2.0
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicbuildmatrix/hicexplorer_hicbuildmatrix/2.1.0
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicbuildmatrix/hicexplorer_hicbuildmatrix/2.0.2
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicbuildmatrix/hicexplorer_hicbuildmatrix/2.0.1
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicbuildmatrix/hicexplorer_hicbuildmatrix/2.0.0
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicbuildmatrix/hicexplorer_hicbuildmatrix/1.8.1.0
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicbuildmatrix/hicexplorer_hicbuildmatrix/1.8.0
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicbuildmatrix/hicexplorer_hicbuildmatrix/1.7.2.0
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicbuildmatrix/hicexplorer_hicbuildmatrix/1.7.1.0
hicexplorer_hicbuildmatrix
Requirements (dependencies defined in the <requirements> tag set)
name version type
hicexplorer 3.7.6 package
Additional information about this tool
mkdir ./QCfolder &&
        mkdir '$qc.files_path' &&
        hicBuildMatrix
            --samFiles
            #for $repeat in $samFiles:
                '${repeat.samFile}'
            #end for

            --restrictionCutFile '$restrictionCutFile'

            #if $restrictionSequence:
                --restrictionSequence $restrictionSequence
            #end if
            #if $danglingSequence:
                --danglingSequence $danglingSequence
            #end if
            #if $minDistance:
            --minDistance $minDistance
            #end if
            #if $maxLibraryInsertSize:
                --maxLibraryInsertSize $maxLibraryInsertSize
            #end if

            #if $binSizes:
                --binSize
                #for $repeat in $binSizes
                    '${repeat.binSize}'
                #end for
            #end if

            #if $chromosomeSizes:
                --chromosomeSizes '$chromosomeSizes'
            #end if
            #if $dbKey:
                --genomeAssembly '$dbKey'
            #else
                --genomeAssembly '$samFiles[0].samFile.metadata.dbkey'
            #end if

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

            --outFileName 'matrix.$outputFormat'

            #if $outBam:
                $outBam ./unsorted.bam
            #end if

            $keepSelfCircles
            $keepSelfLigation
            $skipDuplicationCheck

            #if $minMappingQuality and $minMappingQuality is not None:
                --minMappingQuality $minMappingQuality
            #end if

            --threads \${GALAXY_SLOTS:-4}

            --QCfolder ./QCfolder
        &&
        mv ./QCfolder/* $qc.files_path/
        &&
        mv '$qc.files_path/hicQC.html' '$qc'
        && mv "$qc.files_path"/*.log raw_qc
        && mv matrix.$outputFormat matrix
        #if $outBam:
            && samtools sort -@ \${GALAXY_SLOTS:-4} -T "\${TMPDIR:-.}" ./unsorted.bam -o sorted.bam
        #end if

    
None
False
Functional tests
name inputs outputs required files
Test-1 samFiles_0|samFile: small_test_R1_unsorted.sam
samFiles_1|samFile: small_test_R2_unsorted.sam
restrictionCutFile: DpnII_10k.bed
restrictionSequence: GATC
danglingSequence: GATC
binSizes_0|binSize: 5000
outBam: True
outputFormat: h5
name: value
name: value
name: value
small_test_R1_unsorted.sam
small_test_R2_unsorted.sam
DpnII_10k.bed
value
Test-2 samFiles_0|samFile: small_test_R1_unsorted.sam
samFiles_1|samFile: small_test_R2_unsorted.sam
restrictionCutFile: DpnII_10k.bed
restrictionSequence: GATC
danglingSequence: GATC
binSizes_0|binSize: 5000
outBam: True
outputFormat: cool
name: value
name: value
name: value
small_test_R1_unsorted.sam
small_test_R2_unsorted.sam
DpnII_10k.bed
value