Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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?

  • #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


    • #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


      • #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


        • #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


          • #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


            • #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


              • #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


                • #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


                  • #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


                    • #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

                      • seqadmin
                        Non-Coding RNA Research and Technologies
                        by seqadmin




                        Non-coding RNAs (ncRNAs) do not code for proteins but play important roles in numerous cellular processes including gene silencing, developmental pathways, and more. There are numerous types including microRNA (miRNA), long ncRNA (lncRNA), circular RNA (circRNA), and more. In this article, we discuss innovative ncRNA research and explore recent technological advancements that improve the study of ncRNAs.

                        Nobel Prize for MicroRNA Discovery
                        This week,...
                        10-07-2024, 08:07 AM
                      • seqadmin
                        Recent Developments in Metagenomics
                        by seqadmin





                        Metagenomics has improved the way researchers study microorganisms across diverse environments. Historically, studying microorganisms relied on culturing them in the lab, a method that limits the investigation of many species since most are unculturable1. Metagenomics overcomes these issues by allowing the study of microorganisms regardless of their ability to be cultured or the environments they inhabit. Over time, the field has evolved, especially with the advent...
                        09-23-2024, 06:35 AM

                      ad_right_rmr

                      Collapse

                      News

                      Collapse

                      Topics Statistics Last Post
                      Started by seqadmin, Today, 06:35 AM
                      0 responses
                      7 views
                      0 likes
                      Last Post seqadmin  
                      Started by seqadmin, Yesterday, 02:44 PM
                      0 responses
                      7 views
                      0 likes
                      Last Post seqadmin  
                      Started by seqadmin, 10-11-2024, 06:55 AM
                      0 responses
                      15 views
                      0 likes
                      Last Post seqadmin  
                      Started by seqadmin, 10-02-2024, 04:51 AM
                      0 responses
                      111 views
                      0 likes
                      Last Post seqadmin  
                      Working...
                      X