Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Shishir
    Member
    • Nov 2012
    • 22

    #1

    How to build combined library for repeatmasker?

    I want to to perform repeatmasking on ant genome. Ant is also included in the repeat library obtained from Repbase. The library RepeatMaskerLib.embl also contains my species. However, I also generated de novo repeat library by repeatmodeler (consensi.fa). How can I use both library for masking ant genome ? Should I concatenate RepeatMaskerLib.embl and consensi.fa or can I use both library with single command?
  • suryasaha
    Member
    • Mar 2011
    • 27

    #2
    You can go both ways. Have not done this myself but the simplest way would be to pull put ant repeats from RepeatMaskerLib.embl and merge them with your custom repeat library (as fasta). You could then use the -lib option in RepeatMasker to supply the updated custom repeat library and mask the ant genome.

    AFAIK, you cannot combine both libraries in a single command.

    Comment

    • HeyIamNuria
      Member
      • Dec 2012
      • 19

      #3
      Hey, I think this would be a great solution, but I have a problem...
      I want to mask the repeats, but I want to classify them as well.

      If I get the Repbase library in fasta format (to concatenate it with my own database and use it with -lib) then I lose the classificators (ex: #LINE/L1 --> ).

      [I don't know if anyone came out with a script to put the "#" and "/" where they should be, but I don't know how, because usually there's only the Superfamily but not the Order (ex L1 but not LINE)]

      I also tried to convert RepeatMaskerLib.embl to .fasta but I lose the classification info too.

      I guess it won't work to put my repeats, in .embl, into RepeatMaskerLib.embl, but I haven't tried yet.


      Did anyone find a way to solve this?
      Thank you for any help

      Comment

      • HeyIamNuria
        Member
        • Dec 2012
        • 19

        #4
        or maybe...

        Does anyone know how to use RepeatClassifier (part of RepeatModeler) only. Or make RepeatModeler classify a bunch of repeats already listed?

        Thanks

        Comment

        • rhubley
          Member
          • Sep 2012
          • 10

          #5
          RepeatClassifier can be run independently. If you hand it a fasta file it will generate a new file with a *.classified suffix. The output file will be a fasta file with all the id#class/subclass identifiers.

          Comment

          • rhubley
            Member
            • Sep 2012
            • 10

            #6
            Check out the util/buildRMLibFromEMBL.pl script included in the RepeatMasker distribution. This will convert the RepeatMaskerLib.embl file into a fasta file with the "#class/subclass" nomenclature.

            Comment

            • HeyIamNuria
              Member
              • Dec 2012
              • 19

              #7
              Thank you for your help.
              I manage to get my library classified, but I still have another doubt.

              When I use Repeatmasker with a custom library (-lib) the .tbl file seems to be made with the results of masking the genome with
              Homo sapies repeats alone ("The query species was assumed to be homo"). My guess is that I can't obtain a .tbl output with a custom library (even if this library is made by RepeatModeler). Is this true?

              Thank you again


              Nuria
              Last edited by HeyIamNuria; 06-21-2013, 06:18 AM. Reason: The problem was not clearly explained.

              Comment

              • HeyIamNuria
                Member
                • Dec 2012
                • 19

                #8
                If the answer to my previous question is yes (so I can't get a real .tbl output when using RepeatMasker with the -lib option) is there any script that can produce something similar to the .tbl output with RepeatMasker .out or .gff files?

                (My library is classified with #class/subclass identifiers).


                Thank you for your time

                Nuria

                Comment

                • rhubley
                  Member
                  • Sep 2012
                  • 10

                  #9
                  Yes. You can use the RepeatMasker/util/buildSummary.pl script to reprocess the *.out file and summarize the results. The buildSummary.pl creates a similar table to the *.tbl file but also includes tabulations of each individual repeat and each seq/chr of the input.

                  Comment

                  • HeyIamNuria
                    Member
                    • Dec 2012
                    • 19

                    #10
                    Thank you, buildSummary seems to be what I was looking for, but I have another question.

                    I masked the same genome with different libraries and I used the buildSummary script to extract the repeat information from the *.out files.

                    But every .tbl file considers a different genome length. It is a number between the original total length and the excluding N/X-runs value. In my case 10 to 20 Mb smaller that the original length.

                    Consequently the % of repeats have important differences.

                    Can anyone help?

                    Thank you very much

                    Nuria

                    Comment

                    • HeyIamNuria
                      Member
                      • Dec 2012
                      • 19

                      #11
                      ok, I only had to read the buildSummary.pl script.

                      If someone else has the same problem, I solved using:
                      perl buildSummary.pl -useAbsoluteGenomeSize -genome tablewithscaffoldsnamesandlength.tsv -species yourspecies RMaskeroutput.out

                      Nuria

                      Comment

                      • Pseudoknot
                        Junior Member
                        • May 2012
                        • 4

                        #12
                        Hi Nuria,

                        I'm having the same problem. Just to be clear, you masked your genome using the RepeatModeler results and then used only the buildSummary.pl script to classify the repeats?

                        Thanks!

                        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-15-2026, 10:52 AM
                        0 responses
                        15 views
                        0 reactions
                        Last Post SEQadmin2  
                        Started by SEQadmin2, 10-14-2026, 05:39 AM
                        0 responses
                        21 views
                        0 reactions
                        Last Post SEQadmin2  
                        Started by SEQadmin2, 10-13-2026, 09:56 AM
                        0 responses
                        21 views
                        0 reactions
                        Last Post SEQadmin2  
                        Started by SEQadmin2, 10-09-2026, 11:14 AM
                        0 responses
                        27 views
                        0 reactions
                        Last Post SEQadmin2  
                        Working...