Skip to content

Example .ini file for countess_cmd #8

@hannahle

Description

@hannahle

The docs (https://github.com/CountESS-Project/CountESS) here says that to run countess in headless mode, we type:

countess_cmd your_config.ini

Is there an example your_config.ini that you can provide?

For example, I attached the BRCA_example.json from the previous example of Enrich2 (python2) here.

How do I turn this json into a properly formatted .INI file?

{
    "conditions": [
      {
        "name": "E3", 
        "selections": [
          {
            "libraries": [
              {
                "barcodes": {
                  "map file": "Data/BRCA1_example_barcodemap.txt.bz2"
                }, 
                "fastq": {
                  "filters": {
                    "min quality": 20
                  }, 
                  "length": 16, 
                  "reads": "Data/BRCA1_input_sample.fq.bz2", 
                  "reverse": 0
                }, 
                "name": "E3 Input", 
                "report filtered reads": false, 
                "timepoint": 0, 
                "variants": {
                  "min count": 0, 
                  "use aligner": false, 
                  "wild type": {
                    "coding": true, 
                    "reference offset": 0, 
                    "sequence": "GATTTATCTGCTCTTCGCGTTGAAGAAGTACAAAATGTCATTAATGCTATGCAGAAAATCTTAGAGTGTCCCATCTGCCTGGAGTTGATC"
                  }
                }
              }, 
              {
                "barcodes": {
                  "map file": "Data/BRCA1_example_barcodemap.txt.bz2"
                }, 
                "fastq": {
                  "filters": {
                    "min quality": 20
                  }, 
                  "length": 16, 
                  "reads": "Data/BRCA1_rep1_rd2.fq.bz2", 
                  "reverse": 0
                }, 
                "name": "Rep1 Rd2", 
                "report filtered reads": false, 
                "timepoint": 2, 
                "variants": {
                  "min count": 0, 
                  "use aligner": false, 
                  "wild type": {
                    "coding": true, 
                    "reference offset": 0, 
                    "sequence": "GATTTATCTGCTCTTCGCGTTGAAGAAGTACAAAATGTCATTAATGCTATGCAGAAAATCTTAGAGTGTCCCATCTGCCTGGAGTTGATC"
                  }
                }
              }, 
              {
                "barcodes": {
                  "map file": "Data/BRCA1_example_barcodemap.txt.bz2"
                }, 
                "fastq": {
                  "filters": {
                    "min quality": 20
                  }, 
                  "length": 16, 
                  "reads": "Data/BRCA1_rep1_rd5.fq.bz2", 
                  "reverse": 0
                }, 
                "name": "Rep1 Rd5", 
                "report filtered reads": false, 
                "timepoint": 5, 
                "variants": {
                  "min count": 0, 
                  "use aligner": false, 
                  "wild type": {
                    "coding": true, 
                    "reference offset": 0, 
                    "sequence": "GATTTATCTGCTCTTCGCGTTGAAGAAGTACAAAATGTCATTAATGCTATGCAGAAAATCTTAGAGTGTCCCATCTGCCTGGAGTTGATC"
                  }
                }
              }
            ], 
            "name": "Rep1"
          }, 
          {
            "libraries": [
              {
                "barcodes": {
                  "map file": "Data/BRCA1_example_barcodemap.txt.bz2"
                }, 
                "fastq": {
                  "filters": {
                    "min quality": 20
                  }, 
                  "length": 16, 
                  "reads": "Data/BRCA1_input_sample.fq.bz2", 
                  "reverse": 0
                }, 
                "name": "E3 Input", 
                "report filtered reads": false, 
                "timepoint": 0, 
                "variants": {
                  "min count": 0, 
                  "use aligner": false, 
                  "wild type": {
                    "coding": true, 
                    "reference offset": 0, 
                    "sequence": "GATTTATCTGCTCTTCGCGTTGAAGAAGTACAAAATGTCATTAATGCTATGCAGAAAATCTTAGAGTGTCCCATCTGCCTGGAGTTGATC"
                  }
                }
              }, 
              {
                "barcodes": {
                  "map file": "Data/BRCA1_example_barcodemap.txt.bz2"
                }, 
                "fastq": {
                  "filters": {
                    "min quality": 20
                  }, 
                  "length": 16, 
                  "reads": "Data/BRCA1_rep2_rd2.fq.bz2", 
                  "reverse": 0
                }, 
                "name": "Rep2 Rd2", 
                "report filtered reads": false, 
                "timepoint": 2, 
                "variants": {
                  "min count": 0, 
                  "use aligner": false, 
                  "wild type": {
                    "coding": true, 
                    "reference offset": 0, 
                    "sequence": "GATTTATCTGCTCTTCGCGTTGAAGAAGTACAAAATGTCATTAATGCTATGCAGAAAATCTTAGAGTGTCCCATCTGCCTGGAGTTGATC"
                  }
                }
              }, 
              {
                "barcodes": {
                  "map file": "Data/BRCA1_example_barcodemap.txt.bz2"
                }, 
                "fastq": {
                  "filters": {
                    "min quality": 20
                  }, 
                  "length": 16, 
                  "reads": "Data/BRCA1_rep2_rd5.fq.bz2", 
                  "reverse": 0
                }, 
                "name": "Rep2 Rd5", 
                "report filtered reads": false, 
                "timepoint": 5, 
                "variants": {
                  "min count": 0, 
                  "use aligner": false, 
                  "wild type": {
                    "coding": true, 
                    "reference offset": 0, 
                    "sequence": "GATTTATCTGCTCTTCGCGTTGAAGAAGTACAAAATGTCATTAATGCTATGCAGAAAATCTTAGAGTGTCCCATCTGCCTGGAGTTGATC"
                  }
                }
              }
            ], 
            "name": "Rep2"
          }
        ]
      }
    ], 
    "name": "BRCA1 Example", 
    "output directory": "Results/"
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions