Skip to content

add Dockerfile#26

Open
stevetsa wants to merge 1 commit intoNCBI-Hackathons:masterfrom
stevetsa:master
Open

add Dockerfile#26
stevetsa wants to merge 1 commit intoNCBI-Hackathons:masterfrom
stevetsa:master

Conversation

@stevetsa
Copy link

No description provided.

@gedankenstuecke
Copy link
Collaborator

The NCBI genome downloader is missing as a dependency. We installed via

pip install -r requirements.txt

Could this be added?

Copy link
Collaborator

@gedankenstuecke gedankenstuecke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I went through the whole file again and found some things that should be adapted before merging the image. :)

# Base Image
FROM ncbihackathon/ncbihackathonbase:latest

# Metadata
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The meta data should be adapted to STREAMclean I think.

cd / && \
rm -rf $DST/$FOLDER

# BAMTools 2.5.1
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need BAMtools (if I'm not mistaken!)

make install && \
rm -rf $DST/$FOLDER $DST/$ZIP

# STAR 2.5.3a
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Star can be removed completely


USER biodocker

RUN git clone --recursive https://github.com/NCBI-Hackathons/NanoporeMapper.git
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The URL for the repo has changed to https://github.com/NCBI-Hackathons/STREAMclean.git (the old URL works as GitHub handles redirects when repos are renamed, but would probably be nicer to have a clean setup)

mv $DST/$FOLDER/LICENSE $DST/$FOLDER/README /home/biodocker/bin/ && \
mv $DST/$FOLDER/bin/* /home/biodocker/bin/ && \
rm -rf $DST/$FOLDER

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The python modules need to be installed in order for the pipeline to run. I guess

RUN cd ~/STREAMclean & pip install -r requirements.txt should do the trick?

Copy link
Author

@stevetsa stevetsa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants