#########################################
# THIS IS A TYPICAL project.yml TEMPLATE
# most of the settings present here
# are GO for mapping production data
# but nonetheless user must consider
# carefully every presented option
#########################################

#########################################
# When commmenting parameters out, make sure
# that each section still has at least one
# uncommented parameter, otherwise it
# will not get properly parsed.
#########################################



#######################################
# provide paths to your raw input data (fastq-s):
#######################################
# Fastqs can be provided as:
# -- a pairs of relative/absolute paths
# -- sra:<SRA_NUMBER>, optionally followed by the indices of the first and
# the last entry in the SRA in the form of "?start=<first>&end=<last>
input:
    raw_reads_paths:
        day00_ESC_rep1:
            lane1:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7506533_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7506533_2.fastq.gz
        day00_ESC_rep2:
            lane1:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7506534_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7506534_2.fastq.gz
            lane2:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620841_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620841_2.fastq.gz
            lane3:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620842_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620842_2.fastq.gz
            lane4:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620843_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620843_2.fastq.gz
            lane5:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620844_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620844_2.fastq.gz
            lane6:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620845_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620845_2.fastq.gz
            lane7:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620846_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620846_2.fastq.gz
            lane8:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620847_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620847_2.fastq.gz

        day02_mesoderm_rep1:
            lane1:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7506535_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7506535_2.fastq.gz
        day02_mesoderm_rep2:
            lane1:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7506536_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7506536_2.fastq.gz
            lane2:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7624175_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7624175_2.fastq.gz
            lane3:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7624176_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7624176_2.fastq.gz
            lane4:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7624177_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7624177_2.fastq.gz
            lane5:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7624178_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7624178_2.fastq.gz
            lane6:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7624179_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7624179_2.fastq.gz
            lane7:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7624180_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7624180_2.fastq.gz
            lane8:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7624181_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7624181_2.fastq.gz


        day05_cardiacMesoderm_rep1:
            lane1:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7506537_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7506537_2.fastq.gz
            lane2:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620386_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620386_2.fastq.gz
            lane3:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620387_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620387_2.fastq.gz
            lane4:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620388_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620388_2.fastq.gz
            lane5:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620389_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620389_2.fastq.gz
            lane6:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620390_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620390_2.fastq.gz
            lane7:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620391_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620391_2.fastq.gz
            lane8:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620392_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620392_2.fastq.gz
        day05_cardiacMesoderm_rep2:
            lane1:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7506538_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7506538_2.fastq.gz
            lane2:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620397_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620397_2.fastq.gz
            lane3:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620398_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620398_2.fastq.gz
            lane4:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620399_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620399_2.fastq.gz
            lane5:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620400_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620400_2.fastq.gz
            lane6:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620401_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620401_2.fastq.gz
            lane7:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620402_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620402_2.fastq.gz
            lane8:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620403_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620403_2.fastq.gz

        day07_cardiacProgenitor_rep1:
            lane1:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7506539_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7506539_2.fastq.gz
            lane2:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620827_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620827_2.fastq.gz
            lane3:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620828_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620828_2.fastq.gz
            lane4:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620829_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620829_2.fastq.gz
            lane5:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620830_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620830_2.fastq.gz
            lane6:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620831_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620831_2.fastq.gz
            lane7:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620832_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620832_2.fastq.gz
            lane8:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620833_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620833_2.fastq.gz
        day07_cardiacProgenitor_rep2:
            lane1:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7506540_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7506540_2.fastq.gz
            lane2:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620405_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620405_2.fastq.gz
            lane3:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620406_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620406_2.fastq.gz
            lane4:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620407_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620407_2.fastq.gz
            lane5:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620408_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620408_2.fastq.gz
            lane6:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620409_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620409_2.fastq.gz
            lane7:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620410_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620410_2.fastq.gz
            lane8:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620411_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620411_2.fastq.gz

        day15_primativeCardiomyocyte_rep1:
            lane1:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7506541_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7506541_2.fastq.gz
            lane2:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620834_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620834_2.fastq.gz
            lane3:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620835_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620835_2.fastq.gz
            lane4:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620836_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620836_2.fastq.gz
            lane5:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620837_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620837_2.fastq.gz
            lane6:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620838_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620838_2.fastq.gz
            lane7:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620839_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620839_2.fastq.gz
            lane8:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620840_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620840_2.fastq.gz
        day15_primativeCardiomyocyte_rep2:
            lane1:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7506542_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7506542_2.fastq.gz
            lane2:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620412_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620412_2.fastq.gz
            lane3:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620413_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620413_2.fastq.gz
            lane4:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620414_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620414_2.fastq.gz
            lane5:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620415_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620415_2.fastq.gz
            lane6:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620416_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620416_2.fastq.gz
            lane7:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620417_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620417_2.fastq.gz
            lane8:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620418_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620418_2.fastq.gz

        day80_ventricularCardiomyocyte_rep1:
            lane1:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7506543_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7506543_2.fastq.gz
        day80_ventricularCardiomyocyte_rep2:
            lane1:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7506544_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7506544_2.fastq.gz
            lane2:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620820_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620820_2.fastq.gz
            lane3:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620821_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620821_2.fastq.gz
            lane4:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620822_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620822_2.fastq.gz
            lane5:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620823_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620823_2.fastq.gz
            lane6:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620824_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620824_2.fastq.gz
            lane7:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620825_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620825_2.fastq.gz
            lane8:
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620826_1.fastq.gz
                - /net/users/reimonnt/Cardiac_HiC_PRJNA480492/SRR7620826_2.fastq.gz

    # independent libraries can be combined together
    # on the level of binned-data (.cool files)
    # describe your groupings of choice here:
    library_groups:
        day00_ESC_pool:
            - day00_ESC_rep1
            - day00_ESC_rep2
        day02_mesoderm_pool:
            - day02_mesoderm_rep1
            - day02_mesoderm_rep2
        day05_cardiacMesoderm_pool:
            - day05_cardiacMesoderm_rep1
            - day05_cardiacMesoderm_rep2
        day07_cardiacProgenitor_pool:
            - day07_cardiacProgenitor_rep1
            - day07_cardiacProgenitor_rep2
        day15_primativeCardiomyocyte_pool:
            - day15_primativeCardiomyocyte_rep1
            - day15_primativeCardiomyocyte_rep2
        day80_ventricularCardiomyocyte_pool:
            - day80_ventricularCardiomyocyte_rep1
            - day80_ventricularCardiomyocyte_rep2



    # Truncate input fastqs to a small number of reads (e.g. 10000) for
    # semi-dry test runs.
    # NOTE: when the inputs are specified as an SRA number, only this number of
    # reads is downloaded!
    truncate_fastq_reads: 0

    # Specify a reference genome to align sequenced reads.
    # Provide the genome assembly name, a wildcard path to the BWA index files
    # of the reference genome, and a tab-separated table with contig sizes
    # (known as "chrom.sizes"). The latter is used to specify the subset and the
    # order of contigs in a resulting contact map.
    genome:
        assembly_name: 'hg38'
        bwa_index_wildcard_path: '/net/common/genomes/ncbi/GRCh38.analysisSet/index_bwa/GCA_000001405.15_GRCh38_no_alt_plus_hs38d1_analysis_set.fna.*'
        chrom_sizes_path: '/net/common/genomes/ncbi/GRCh38.analysisSet/chromsizes/GRCh38_01_primary.chrom.sizes'

# Choose if you want to do FastQC of the input files:
do_fastqc: True

# Control how reads are mapped to the reference genomes.
map:
    # If 'chunksize' is non-zero, each input file gets split into multiple chunks,
    # each mapped separately. Useful for mapping on clusters with many
    # relatively weak nodes.
    # The optimal chunk size is defined by the balance between mapping and merging.
    # Smaller chunks (~30M) are better for clusters with many weak nodes,
    # however, having >~10 chunks per run slow down merging.
    chunksize: 0

    # Specify extra BWA mapping options.
    mapping_options: ''

    # Specify fastp trim options.
    #i.e. parameters
    #--detect_adapter_for_pe -q 15
    trim_options: ''

    # A more technical option, use a custom script to split fastq files from SRA
    # into two files, one per read side. By default it is true, which is
    # faster (because we can use multi-threaded compression), but less
    # stable. Set to false if you download files from SRA and bwa complains
    # about unpaired reads.
    use_custom_split: true

# Control how read alignments are converted ('parsed') into Hi-C pairs.
parse:
    # If 'make_pairsam' is True, parsed Hi-C pairs will store complete
    # alignment records in the SAM format (the resulting hybrid between the
    # .pairs and .sam formats is called '.pairsam'). Such files can be useful for
    # thorough investigation of Hi-C data. Downstream of parsing, pairsams
    # are split into .pairs and .bam, and .bam alignments are tagged with
    # Hi-C related information. 'make_pairsam' roughly doubles the storage
    # and I/O requirements and should be used only when absolutely needed.
    # NOTE: when 'make_pairsam' is False, the initial output of parsing is still
    # called '.pairsam' despite missing SAM alignments, for technical reasons.
    make_pairsam: False

    # When 'make_pairsam' is True, enabling 'drop_seq' erases sequences and
    # Phred scores from the SAM alignments in .pairsam and .bam output files.
    # Enable to make lightweight .pairsam/.bam output.
    # NOTE: when 'make_pairsam' is False, 'drop_seq' is ignored.
    drop_seq: False

    # Enable 'drop_readid' to drop readID from .pairs files to create
    # lightweight .pairs files
    # NOTE: does not affect alignment records in the .pairsam files and
    # subsequently .bam files after .apirsam splitting.
    drop_readid: True

    # When 'keep_unparsed_bams' is True, distiller preserves the _immediate_
    # output of bwa in a .bam format. Could be used as a faster alternative
    # to 'make_pairsam' when alignments are needed, but tagging them with Hi-C
    # related information is not necessary.
    keep_unparsed_bams: False

    # Pass extra options to pairtools parse, on top of the ones specified by
    # flags 'make_pairsam', 'drop_readid', 'drop_seq'. The default value
    # enables storing MAPQ scores in the .pairsam/.pairs output, which are
    # used later for filtering/binning. The default walks-policy is 'mask'
    # which masks complex walks in long reads.
    parsing_options: '--add-columns mapq --walks-policy mask'

# Control how PCR/optical duplicates are detected in the data.
dedup:
    # PCR/optical duplicates are detected as Hi-C pairs with matching locations
    # on both sides. 'max_mismatch_bp' controls the maximal allowed mismatch in
    # mapped locations on either side for two pairs to be still considered as
    # duplicates.
    max_mismatch_bp: 1

    # Pass extra options to pairtools dedup, which will regulate the working engine
    # (--backend can be set to "scipy", "sklearn" or "cython"; scipy by default),
    # the chunk size can be set for scipy and sklearn backends: --chunksize
    # is 100000 by default, which consumes several Gb per process. It can be set to
    # smaller values (e.g. 10000), which will increase processing time but decrease memory.
    # Note that on cluster the job can be "Killed" if the task uses more than the memory limit.
    dedup_options: ''

# Control how Hi-C pairs are binned into contact maps, stored in .cool files.
bin:
    # Specify which resolutions should be included in the multi-resolution .cool file.
    # The lowest (base) resolution _must_ be the common denominator of all other
    # resolutions.
    resolutions:
        - 10000000
        - 5000000
        - 2500000
        - 1000000
        - 500000
        - 250000
        - 100000
        - 50000
        - 25000
        - 10000
        - 5000
        - 2000
        - 1000
        - 500
        - 100
    # Specify if the multi-resolution .cool output files should be balanced.
    balance: true

    # Pass additional parameters to cooler balance:
    # balance_options: ''

    # Specify additional filters applied to pairs during binning.
    # Multiple filters are allowed; for each filter, all pairs satisfying the
    # given filter expression will be binned into a separate cooler.
    # Filters are specified using the following syntax:
    # {filter_name}: '{a valid Python expression}'
    filters:
        no_filter: ''
        mapq_30: '(mapq1>=30) and (mapq2>=30)'

########################################
# folder structure for storing results
########################################
output:
    dirs:
        processed_fastqs: 'results/processed_fastqs/'
        mapped_parsed_sorted_chunks: 'results/mapped_parsed_sorted_chunks'
        fastqc: 'results/fastqc/'
        pairs_library: 'results/pairs_library'
        coolers_library: 'results/coolers_library/'
        coolers_library_group: 'results/coolers_library_group/'
        stats_library_group: 'results/stats_library_group/'
