Skip to content

try using HOMER with conda #49

@sreichl

Description

@sreichl

HOMER still gets installed "manually" via a rule.
This occasionally leads to hard to find/understand problems in peak_calling step.
Maybe it's time to try to make it work for conda.

https://anaconda.org/bioconda/homer
https://bioconda.github.io/recipes/homer/README.html
https://github.com/bioconda/bioconda-recipes/tree/master/recipes/homer

[...]homer writes its DBs to: $CONDA_PREFIX/share/homer/data for conda and this approach works.

still requires update / install of new DBs via configureHomer.pl

  • put Homer log into the respective log file, as it is not used downstream, shown here
  • where is Homer installed if $CONDA_PREFIX is not set by user -> seems to point to .../.snakemake/conda ie the default so can be used
    • set HOMER_path in Snakefile using $CONDA_PREFIX and print as easy test once with global variable and once with login without global variable ie commented in the bash.rc file
  • inform rules about homer's successful installation of genomes. how?
    • by checking the existence of the respective genome data$CONDA_PREFIX/share/homer/data/genomes/hg38.tss -> double check if this actually exists.
    • peak_calling
    • homer_region_annotation
  • add homer using bioconda to envs/macs_homer.yaml and comment homer dependencies that are manually added (perl, wget)
  • update homer installation to only install genome info https://github.com/epigen/atacseq_pipeline/blob/main/workflow/rules/resources.smk

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions