Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Kawaccino
    Member
    • Mar 2013
    • 12

    Blast 2 multifasta files one against the other

    Hello everyone,
    I have two files: one is a multifasta where each sequence is a contig of interest extracted from an assembled genome.
    The second one is also a multifasta where each sequence is a contig of an assembled genome; this file contain the whole assembled genome.
    What I want to do is: blast the first file against the second to identify in the second file which contigs are of interest so I can extract them to work only on them and not the whole genome file.
    I installed Blast on my computer so I can do it locally and not on the website.
    My problem is:
    - I tried to perform a blast2seq, and nothing, it doesn't work, in fact, it just blast the first sequence of the file 1 against the first sequence of the file 2. And then it stops
    - so I tried to transform my whole genome fasta file in a database (with formatdb -i file.fasta -p F) and I did a blastn but it didn't work either.

    So my question is: how can you blast two multifasta files one against the other?

    Thank you very much for any help you can provide me.
    Cordially,
    K.
  • rhinoceros
    Senior Member
    • Apr 2013
    • 372

    #2
    Originally posted by Kawaccino View Post
    So my question is: how can you blast two multifasta files one against the other?
    You could define the other file as a subject and the other as a query. However, it'll be much faster if you create a db from the other file (i.e. you can run a multithreaded blast). I have no idea why your attempt failed. Perhaps if you told us what was it exactly that you did, and what the actual error message was. Also, consider reading the blast manual?


    p.s. A question to all. Why is legacy blast usage still so common?
    savetherhino.org

    Comment

    • GenoMax
      Senior Member
      • Feb 2008
      • 7142

      #3
      Blat would likely work well for this as well. No need to mess with creating databases etc. You can produce output in a blast like format if you want to visually check the alignments.

      Last edited by GenoMax; 06-06-2013, 09:43 AM.

      Comment

      • GenoMax
        Senior Member
        • Feb 2008
        • 7142

        #4
        Originally posted by rhinoceros View Post

        p.s. A question to all. Why is legacy blast usage still so common?
        Perhaps because some of us are old enough to have started practicing "bioinformatics" (it was not called that back then) with blast

        On a serious note:

        There is a good bit of history/theory available for blast.
        Statistics are well documented and understood.
        Easy web based interface to do searches.

        I am sure others will add to this list ..

        Comment

        • Kawaccino
          Member
          • Mar 2013
          • 12

          #5
          Hey!
          Thank you all for the help, I think I will see Blat.
          Concerning Blast I read the manual and it says nothing that helped me with my problem. By the way I don't get any Error message; the job finishes and when I open the output file, there is nothing in it.
          I aligned the two files with Mauve, and there are alignments between the two files, so I should obtain something with Blast...
          Thanks again,
          K.

          Comment

          • rhinoceros
            Senior Member
            • Apr 2013
            • 372

            #6
            Originally posted by Kawaccino View Post
            Hey!
            By the way I don't get any Error message; the job finishes and when I open the output file, there is nothing in it.
            How long does the job run? Try to search just one sequence against your db to see if it works at all. Are you sure your files are in proper fasta format - only headers and sequences and nothing else?

            p.s. If you're having problems on setting up blasts properly, I'd not recommend blat for the time being..
            Last edited by rhinoceros; 06-07-2013, 01:24 AM.
            savetherhino.org

            Comment

            Latest Articles

            Collapse

            • 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
            • GATTACAT
              Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
              by GATTACAT
              Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
              07-01-2026, 11:43 AM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by SEQadmin2, 07-09-2026, 10:04 AM
            0 responses
            24 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 07-08-2026, 10:08 AM
            0 responses
            15 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 07-07-2026, 11:05 AM
            0 responses
            33 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...