diff --git a/BALSAMIC/containers/annotate/annotate.yaml b/BALSAMIC/containers/annotate/annotate.yaml index 9421b9d8b..f39d020b4 100644 --- a/BALSAMIC/containers/annotate/annotate.yaml +++ b/BALSAMIC/containers/annotate/annotate.yaml @@ -9,3 +9,5 @@ dependencies: - bcftools>=1.10 - vcfanno=0.3.2 - gxx_linux-64 + - pip: + - git+https://github.com/NBISweden/vcf2cytosure@0.5.1 diff --git a/BALSAMIC/utils/cli.py b/BALSAMIC/utils/cli.py index 576d2c499..768b37e23 100644 --- a/BALSAMIC/utils/cli.py +++ b/BALSAMIC/utils/cli.py @@ -447,6 +447,8 @@ def get_bioinfo_tools_version(bioinfo_tools: dict, with open(yaml_file, "r") as f: packages = yaml.safe_load(f).get("dependencies") for p in packages: + if isinstance(p, dict): + continue name = p.split("=")[0] version = "=".join(p.split("=")[1:]) if name not in bioinfo_tools: @@ -621,4 +623,4 @@ def create_pon_fastq_symlink(pon_fastqs, symlink_dir): LOG.info(f"Creating symlink {fastq_name} -> {pon_sym_file}") os.symlink(pon_fastq, pon_sym_file) except FileExistsError: - LOG.info(f"File {pon_sym_file} exists, skipping") \ No newline at end of file + LOG.info(f"File {pon_sym_file} exists, skipping") diff --git a/CHANGELOG.rst b/CHANGELOG.rst index d5f2b35e6..757b1a27c 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -7,6 +7,7 @@ Added: * samtools flagstats and stats to workflow and MultiQC * PASSed SV calls from Manta to clinical delivery * An extra filter to VarDict tumor-normal to remove variants with STATUS=Germline, all other will still be around +* Added ``vcf2cytosure``` to annotate container Changed: