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
                        Beyond CRISPR/Cas9: Understand, Choose, and Use the Right Genome Editing Tool
                        by SEQadmin2



                        CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).

                        Despite this, “CRISPR helped turn genome editing from a specialized technique into
                        ...
                        Yesterday, 11:01 AM
                      • SEQadmin2
                        Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
                        by SEQadmin2


                        Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

                        The systematic characterization of the human proteome has
                        ...
                        07-20-2026, 11:48 AM
                      • SEQadmin2
                        Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                        by SEQadmin2



                        Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
                        ...
                        07-09-2026, 11:10 AM

                      ad_right_rmr

                      Collapse

                      News

                      Collapse

                      Topics Statistics Last Post
                      Started by SEQadmin2, Yesterday, 02:55 AM
                      0 responses
                      9 views
                      0 reactions
                      Last Post SEQadmin2  
                      Started by SEQadmin2, 07-24-2026, 12:17 PM
                      0 responses
                      12 views
                      0 reactions
                      Last Post SEQadmin2  
                      Started by SEQadmin2, 07-23-2026, 11:41 AM
                      0 responses
                      12 views
                      0 reactions
                      Last Post SEQadmin2  
                      Started by SEQadmin2, 07-20-2026, 11:10 AM
                      0 responses
                      24 views
                      0 reactions
                      Last Post SEQadmin2  
                      Working...