how to use Trimmomatic on docker

81 views
Skip to first unread message

deo9...@gmail.com

unread,
Jan 25, 2019, 12:41:57 PM1/25/19
to trinityrnaseq-users
how to use how to use Trimmomatic  on docker, means because it need java to run, so can you please tell that

Brian Haas

unread,
Jan 26, 2019, 12:36:16 PM1/26/19
to deo deo, trinityrnaseq-users
There are a couple of ways to do this.

For some things, it might be easier to just work with the docker image interactively, like so:

 docker run --rm -it  -v`pwd`:`pwd` trinityrnaseq/trinityrnaseq bash

which gives you a bash prompt inside the docker container. It's mounted your current working directory, and you have access to all the software installed in it.

To access trimmomatic from within the trinity installation there, you could run:

java -jar /usr/local/bin/trinityrnaseq/trinity-plugins/Trimmomatic/trimmomatic.jar




'exit' to get out of the docker container.




If you don't want to work with the docker container interactively and would rather just run the trimmomatic command directly, you could do this:



docker run  -v`pwd`:`pwd` trinityrnaseq/trinityrnaseq java -jar /usr/local/bin/trinityrnaseq/trinity-plugins/Trimmomatic/trimmomatic.jar 




This looks like a good reference for you if you're planning to do a lot of docker work:


https://github.com/eduleboss/the-best-docker-books/tree/master/books



On Fri, Jan 25, 2019 at 12:41 PM <deo9...@gmail.com> wrote:
how to use how to use Trimmomatic  on docker, means because it need java to run, so can you please tell that

--
You received this message because you are subscribed to the Google Groups "trinityrnaseq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trinityrnaseq-u...@googlegroups.com.
To post to this group, send email to trinityrn...@googlegroups.com.
Visit this group at https://groups.google.com/group/trinityrnaseq-users.
For more options, visit https://groups.google.com/d/optout.


--
--
Brian J. Haas
The Broad Institute
http://broadinstitute.org/~bhaas

 

deo deo

unread,
Jan 26, 2019, 2:17:48 PM1/26/19
to Brian Haas, trinityrnaseq-users
Awesome, thanks! 
Reply all
Reply to author
Forward
0 new messages