Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • CAMERA Blast output - invalid XML?

    Hi all,
    I've ran some of my datasets on the tBLASTx program on the CAMERA portal. Since the hit number was quite big, the portal let me download the output as a .xml file.
    Sadly, as I run blast_formatter on the .xml it appears to be an invalid file format: Galaxy tells me it's a simple .txt, instead of a .xml. How can I reformat it?

    -MikeT

  • #2
    Can you show us the first 10 lines or so using the [ code ] and [ /code ] forum tags to preserve the formatting? Try using the Unix command 'head' for this,

    head -n 10 example.xml

    Comment


    • #3
      Here's a screenshot of the first lines:

      Hope it helps!

      -MikeT

      Comment


      • #4
        Originally posted by MikeT View Post
        Here's a screenshot of the first lines:

        Hope it helps!
        That does look like BLAST XML.

        It is possible Galaxy failed to auto-detect the file type. You can set this explicitly when you upload a file to Galaxy. Or, after uploading from the history entry use the "pencil" icon ("edit attributes") to change the filetype.

        Originally posted by MikeT View Post
        Sadly, as I run blast_formatter on the .xml it appears to be an invalid file format
        The NCBI tool blast_formatter does not expect an XML input, rather an ASN.1 file.

        Comment


        • #5
          Originally posted by maubp View Post
          That does look like BLAST XML.

          It is possible Galaxy failed to auto-detect the file type. You can set this explicitly when you upload a file to Galaxy. Or, after uploading from the history entry use the "pencil" icon ("edit attributes") to change the filetype.
          Already tried, but when I do it and then use the "Parse BLAST output" command it still doesn't recognize the file as a .xml BLAST output.


          Originally posted by maubp View Post
          The NCBI tool blast_formatter does not expect an XML input, rather an ASN.1 file.
          Are you sure? Because the -help section for the tool explicitly says that it expects some ASN.1 files and .XMLs. Anyway, how can I reformat my output as an ASN.1 file?

          -MikeT

          Comment


          • #6
            Originally posted by MikeT View Post
            Already tried, but when I do it and then use the "Parse BLAST output" command it still doesn't recognize the file as a .xml BLAST output.
            In that case (assuming you are using the public Galaxy), write to the galaxy-users mailing list and offer to share a history with the problematic XML file with them for diagnosis.
            Originally posted by MikeT View Post
            Are you sure? Because the -help section for the tool explicitly says that it expects some ASN.1 files and .XMLs. Anyway, how can I reformat my output as an ASN.1 file?
            I only have BLAST 2.2.25+ installed on this machine (the latest is now 2.2.26), and it doesn't say that in the 'blast_formatter -help' text. I doesn't say much at all about the -archive argument, but the website is pretty clear it expects a BLAST archive format (ASN.1) file: http://www.ncbi.nlm.nih.gov/books/NBK1763/

            Comment

            Latest Articles

            Collapse

            • seqadmin
              Genetic Variation in Immunogenetics and Antibody Diversity
              by seqadmin



              The field of immunogenetics explores how genetic variations influence immune responses and susceptibility to disease. In a recent SEQanswers webinar, Oscar Rodriguez, Ph.D., Postdoctoral Researcher at the University of Louisville, and Ruben Martínez Barricarte, Ph.D., Assistant Professor of Medicine at Vanderbilt University, shared recent advancements in immunogenetics. This article discusses their research on genetic variation in antibody loci, antibody production processes,...
              Yesterday, 07:24 PM
            • seqadmin
              Choosing Between NGS and qPCR
              by seqadmin



              Next-generation sequencing (NGS) and quantitative polymerase chain reaction (qPCR) are essential techniques for investigating the genome, transcriptome, and epigenome. In many cases, choosing the appropriate technique is straightforward, but in others, it can be more challenging to determine the most effective option. A simple distinction is that smaller, more focused projects are typically better suited for qPCR, while larger, more complex datasets benefit from NGS. However,...
              10-18-2024, 07:11 AM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by seqadmin, 11-01-2024, 06:09 AM
            0 responses
            27 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 10-30-2024, 05:31 AM
            0 responses
            21 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 10-24-2024, 06:58 AM
            0 responses
            25 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 10-23-2024, 08:43 AM
            0 responses
            56 views
            0 likes
            Last Post seqadmin  
            Working...
            X