Unconfigured Ad

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

    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

                      • mylaser
                        Reply to Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                        by mylaser
                        Kheloyar – Everything You Need to Know About Kheloyaar Login and Kheoyar Id
                        If you are looking for an online gaming platform that offers a user-friendly experience, Kheloyar has become a name that many users search for. Whether you're interested in creating a new account, accessing your dashboard through Kheloyaar Login, or learning how to obtain a Kheoyar Id, understanding the platform's features and account process is essential.
                        This guide explains everything you need to know about...
                        Yesterday, 01:13 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
                      • SEQadmin2
                        Cancer Drug Resistance: The Lingering Barrier to Rising Survival
                        by SEQadmin2



                        Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

                        There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
                        07-08-2026, 05:17 AM

                      ad_right_rmr

                      Collapse

                      News

                      Collapse

                      Topics Statistics Last Post
                      Started by SEQadmin2, 07-09-2026, 10:04 AM
                      0 responses
                      17 views
                      0 reactions
                      Last Post SEQadmin2  
                      Started by SEQadmin2, 07-08-2026, 10:08 AM
                      0 responses
                      10 views
                      0 reactions
                      Last Post SEQadmin2  
                      Started by SEQadmin2, 07-07-2026, 11:05 AM
                      0 responses
                      25 views
                      0 reactions
                      Last Post SEQadmin2  
                      Started by SEQadmin2, 07-02-2026, 11:08 AM
                      0 responses
                      31 views
                      0 reactions
                      Last Post SEQadmin2  
                      Working...