Closed guanqiaofeng closed 6 months ago
nf-core software is not running properly in my local environment. Using docker image for development.
docker pull nfcore/base
Interestingly, the nfcore/base docker image doesn't have nf-core installed. So I build a docker image on top of nfcore/base with nf-core installed:
FROM nfcore/base:latest
# Install pip
RUN apt-get update && apt-get install -y python3-pip
# Install nf-core tools
RUN pip3 install nf-core
docker build -t nf-core-docker .
docker scout quickview
docker run -it nf-core-docker /bin/bash
docker image (nf-core-docker) generates successfully
exit
git branch dev
git checkout dev
repository (Merge_Sort_Dup dev) setup successfully
docker run -it -v $(pwd):/workspace -w /workspace nf-core-docker /bin/bash
Run a Docker container, mounting the repository's directory as a volume inside the container. Any changes made will be reflected in the local repository directory outside the container, thanks to the volume mount.
Environment setup successfully
merge_sort_dup_subworkflow
from main in git repositorydocker run -it -v $(pwd):/workspace -w /workspace nf-core-nextflow-docker /bin/bash
merge_sort_dup_subworkflow
branchnf-core modules create samtools/merge
nf-core modules create samtools/convert
nf-core modules create biobambam/bammarkduplicates2
nf-core modules create tar
nf-core create
cd /workspace/nf-core-rna
ls
nf-core modules install star/align
nf-core modules --git-remote https://github.com/icgc-argo-workflows/argo-modules.git list remote
nf-core modules --git-remote https://github.com/icgc-argo-workflows/argo-modules.git install checkinput
nf-core modules --git-remote https://github.com/icgc-argo-workflows/argo-modules.git --branch merge_sort_dup_subworkflow list remote
nf-core modules --git-remote https://github.com/icgc-argo-workflows/argo-modules.git --branch merge_sort_dup_subworkflow install cleanup
nf-core modules --git-remote https://github.com/icgc-argo-workflows/argo-modules.git --branch merge_sort_dup_subworkflow install biobambam/bammarkduplicates2
nf-core modules --git-remote https://github.com/icgc-argo-workflows/argo-modules.git --branch merge_sort_dup_subworkflow install tar
nf-core modules --git-remote https://github.com/icgc-argo-workflows/argo-modules.git --branch merge_sort_dup_subworkflow install samtools/merge
nf-core modules --git-remote https://github.com/icgc-argo-workflows/argo-modules.git --branch merge_sort_dup_subworkflow install samtools/convert
All 4 modules can be installed correctly.
PR for review @edsu7 and @lindaxiang https://github.com/icgc-argo-workflows/argo-modules/pull/34
Closing as done
@guanqiaofeng