Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Palgrave
    Member
    • Aug 2011
    • 73

    #1

    Install Trimmomatic?

    Hi all,

    How did you build and install trimmomatic? There is no make file so I am not sure how to run the software. Anyone?
  • westerman
    Rick Westerman
    • Jun 2008
    • 1104

    #2
    It is java based. The on-line web page should explain how to run it. I use:

    java -Xms512m -Xmx2000m -classpath Trimmomatic-0.20/trimmomatic-0.20.jar org.usadellab.trimmomatic.TrimmomaticPE

    Comment

    • tonybolger
      Senior Member
      • Feb 2010
      • 156

      #3
      Originally posted by Palgrave View Post
      How did you build and install trimmomatic? There is no make file so I am not sure how to run the software. Anyone?
      It can be built from source using ant (the java near-equivalent of make), but i'd recommend using the binary download, which contains the pre-built jar.

      Also, there is no installer, you can just copy the jar somewhere convenient - you need to refer to it using -classpath when running Trimmomatic.

      Comment

      • figo1019
        Member
        • Jun 2012
        • 32

        #4
        Originally posted by Palgrave View Post
        Hi all,

        How did you build and install trimmomatic? There is no make file so I am not sure how to run the software. Anyone?
        Hi

        I am also facing the problem of installing the trimmomatic .I even tried the binary version but I am getting the error

        "Failed to load Main-Class manifest attribute from trimmomatic-0.22.jar"

        regards

        Comment

        • tonybolger
          Senior Member
          • Feb 2010
          • 156

          #5
          Originally posted by figo1019 View Post
          I am also facing the problem of installing the trimmomatic .I even tried the binary version but I am getting the error

          "Failed to load Main-Class manifest attribute from trimmomatic-0.22.jar"
          Unfortunately, since there are 2 main classes, it is not possible to run trimmomatic via the -jar option.

          For paired end mode, you need: java -classpath <path to trimmomatic jar> org.usadellab.trimmomatic.TrimmomaticPE ...

          For single end mode: java -classpath <path to trimmomatic jar> org.usadellab.trimmomatic.TrimmomaticSE ...

          The full deatils are here

          Comment

          • Susanna5
            Junior Member
            • Apr 2013
            • 5

            #6
            Originally posted by tonybolger View Post
            It can be built from source using ant (the java near-equivalent of make), but i'd recommend using the binary download, which contains the pre-built jar.

            Also, there is no installer, you can just copy the jar somewhere convenient - you need to refer to it using -classpath when running Trimmomatic.
            Also had a problem with the download from source.. Easiest solution is indeed, download in binary. Problems solved

            Comment

            • elli
              Junior Member
              • Oct 2013
              • 2

              #7
              ...I have the same problem!

              I also installed the binary version and after placing the command to run the program I get the following error:

              Error: Invalid or corrupt jarfile /home/feindt/programs/trimmomatic-0.30

              Does anybody have suggestions what to do?
              Thanks!

              Comment

              • winsettz
                Member
                • Sep 2012
                • 91

                #8
                An example of my shell script that I use to kick off Trimmomatic jobs (derived from Trimmomatic-0.30.zip)
                Code:
                ADAPTER=TruSeq3
                ORIENTATION=PE #or SE
                java -jar /data5/Programs/Trimmomatic-0.30/trimmomatic-0.30.jar $ORIENTATION -threads 4 -phred33 $1 $2  $1.1P_$ADAPTER.fastq $1.1U_$ADAPTER.fastq $2.2P_$ADAPTER.fastq $2.2U_$ADAPTER.fastq ILLUMINACLIP:/data5/Programs/Trimmomatic-0.30/adapters/$ADAPTER\-$ORIENTATION.fa:2:30:10 LEADING:30 TRAILING:30 SLIDINGWINDOW:4:15 MINLEN:36
                $1, $2 are the options fed to the shellscript, so it's

                ./shell file1.fastq file2.fastq, and then its off to the races.

                Comment

                • tingxiang
                  Junior Member
                  • Oct 2014
                  • 2

                  #9
                  Hi all,

                  I'm trying to install Trimmomatic. I follow this website: http://www.personal.psu.edu/iua1/cou...tory-2014.html

                  It says to install, type cd ~/src. When I did, the error appeared:-

                  -bash: cd: /Users/tinaneik/src: No such file or directory

                  What should I do?

                  Cheers,
                  Tina

                  Comment

                  • GenoMax
                    Senior Member
                    • Feb 2008
                    • 7142

                    #10
                    Originally posted by tingxiang View Post
                    Hi all,

                    I'm trying to install Trimmomatic. I follow this website: http://www.personal.psu.edu/iua1/cou...tory-2014.html

                    It says to install, type cd ~/src. When I did, the error appeared:-

                    -bash: cd: /Users/tinaneik/src: No such file or directory

                    What should I do?

                    Cheers,
                    Tina
                    In the example, you linked a directory called "src" is used to download code locally. You will need to make this directory under /Users/tinaneik if you want to follow the guide as is.

                    Code:
                    $ mkdir /Users/tinaneik/src
                    OR

                    Code:
                    $ mkdir ~/src

                    Comment

                    • tingxiang
                      Junior Member
                      • Oct 2014
                      • 2

                      #11
                      Thanks. I typed mkdir /Users/tinaneik/src as recommended, is says:

                      mkdir: /Users/tinaneik/src: File exists

                      Then, I typed cd ~src, again the error appeared:

                      -bash: cd: /Users/tinaneik/src: No such file or directory

                      Any reason?

                      Comment

                      Latest Articles

                      Collapse

                      • SEQadmin2
                        Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
                        by SEQadmin2



                        Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

                        Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
                        ...
                        10-14-2026, 09:55 AM
                      • SEQadmin2
                        New Genomics Technologies Take Aim at Long-Standing Limits
                        by SEQadmin2


                        Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

                        We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
                        ...
                        09-28-2026, 10:25 AM

                      ad_right_rmr

                      Collapse

                      News

                      Collapse

                      Topics Statistics Last Post
                      Started by SEQadmin2, 10-22-2026, 11:13 AM
                      0 responses
                      27 views
                      0 reactions
                      Last Post SEQadmin2  
                      Started by SEQadmin2, 10-22-2026, 10:48 AM
                      0 responses
                      20 views
                      0 reactions
                      Last Post SEQadmin2  
                      Started by SEQadmin2, 10-15-2026, 10:52 AM
                      0 responses
                      36 views
                      0 reactions
                      Last Post SEQadmin2  
                      Started by SEQadmin2, 10-14-2026, 05:39 AM
                      0 responses
                      43 views
                      0 reactions
                      Last Post SEQadmin2  
                      Working...