BU-ISCIII/buisciii-tools

viralrecon template remove sorted.bams only for amplicons, not for metagenomic

svarona opened this issue · 0 comments

viralrecon template remove sorted.bams only for amplicons, not for metagenomic. By default in service.json file:

    "viralrecon": {
        "label": "",
        "template": "viralrecon",
        "url": "https://github.com/BU-ISCIII/viralrecon",
        "order": 1,
        "begin": "",
        "end": "mag_met",
        "description": "Viral genome reconstruction analysis for SARS-COV-2 data",
        "clean": {
          "folders":[],
          "files":["variants/bowtie2/sample_name.sorted.bam","variants/bowtie2/sample_name.sorted.bam.bai"]
        },
        "no_copy": ["RAW", "TMP"],
        "last_folder":"RESULTS",
        "delivery_md": "assets/reports/md/viralrecon.md",
        "results_md": "assets/reports/results/viralrecon.md"
    },

But, un metagenomic services we sould not removesample_name.sorted.bam files.

Maybe we can add something to viralrecon.config to skip output of sample_name.sorted.bam in metagenomic analyses.