Skip to content
Snippets Groups Projects
Select Git revision
  • c3b76f9301c740b5c602bc7ed1d884e77e53c07e
  • master default protected
  • fmortreu-master-patch-11d2
  • origin_hicstuff
  • dev
  • modified_containers
  • hicstuff
  • nico
  • TEMPLATE
  • nf-core-template-merge-2.7.2
  • nf-core-template-merge-2.7.1
  • nf-core-template-merge-2.6
  • nf-core-template-merge-2.5.1
  • nf-core-template-merge-2.5
  • nf-core-template-merge-2.4
  • nf-core-template-merge-2.3.2
  • nf-core-template-merge-2.3.1
  • nf-core-template-merge-2.3
  • nf-core-template-merge-2.2
  • nf-core-template-merge-2.1
  • nf-core-template-merge-2.0.1
  • 1.3.0
  • 1.2.2
  • 1.2.1
  • 1.2.0
  • 1.1.0
  • 1.0.0
27 results

get_valid_interaction_dnase.nf

Blame
  • user avatar
    Nicolas Servant authored and GitHub committed
    Co-authored-by: default avatarEdmund Miller <edmund.a.miller@gmail.com>
    c3b76f93
    History
    get_valid_interaction_dnase.nf 1.03 KiB
    process GET_VALID_INTERACTION_DNASE {
        tag "$meta.id"
        label 'process_low'
    
        conda "conda-forge::python=3.9 bioconda::pysam=0.19.0 bioconda::bx-python=0.8.13"
        container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
            'https://depot.galaxyproject.org/singularity/mulled-v2-c6ff206325681cbb9c9ef890bb8de554172c0483:713df51cd897ceb893b9a6e6420f527d83c2ed95-0' :
            'quay.io/biocontainers/mulled-v2-c6ff206325681cbb9c9ef890bb8de554172c0483:713df51cd897ceb893b9a6e6420f527d83c2ed95-0'}"
    
        input:
        tuple val(meta), path(bam)
    
        output:
        tuple val(meta), path("*.validPairs"), emit:valid_pairs
        tuple val(meta), path("*RSstat"), optional: true, emit:stats
        path("versions.yml"), emit: versions
    
        script:
        def args = task.ext.args ?: ''
        """
        mapped_2hic_dnase.py \\
            -r ${bam} \\
            ${args}
    
        cat <<-END_VERSIONS > versions.yml
        "${task.process}":
            python: \$(echo \$(python --version 2>&1) | sed 's/Python //')
        END_VERSIONS
        """
    }