Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create nextflow process to hmmpress marker hmms #171

Open
chasemc opened this issue Jun 3, 2021 · 1 comment
Open

Create nextflow process to hmmpress marker hmms #171

chasemc opened this issue Jun 3, 2021 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers nextflow Nextflow related issues/code

Comments

@chasemc
Copy link
Member

chasemc commented Jun 3, 2021

One thing I wanted to note is that currently this only works with docker as executor (ie not with conda only) because the MARKERS process requires hmmpress'ed files. @Sidduppal This also needs to be addressed in the installation documentation https://github.com/Sidduppal/Autometa/blob/documentation/docs/source/install.rst

Reference on why docker works and conda alone doesn't:

Autometa/Dockerfile

Lines 36 to 41 in 50f7a60

RUN hmmpress -f autometa/databases/markers/bacteria.single_copy.hmm \
&& hmmpress -f autometa/databases/markers/archaea.single_copy.hmm \
&& mkdir -p $DB_DIR \
&& mv autometa/databases/* ${DB_DIR}/. \
&& autometa-config --section databases --option base --value ${DB_DIR} \
&& echo "databases base directory set in ${DB_DIR}/"

Originally posted by @chasemc in #157 (comment)

@chasemc chasemc added enhancement New feature or request nextflow Nextflow related issues/code labels Jun 3, 2021
@evanroyrees evanroyrees added the good first issue Good for newcomers label Sep 28, 2021
@chasemc
Copy link
Member Author

chasemc commented Dec 10, 2021

Nextflow module will need to be changed (is Docker image specific):

--hmmdb "/scratch/dbs/markers/${params.kingdom}.single_copy.hmm" \\
--cutoffs "/scratch/dbs/markers/${params.kingdom}.single_copy.cutoffs"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers nextflow Nextflow related issues/code
Projects
None yet
Development

No branches or pull requests

2 participants