Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • MikeT
    Member
    • Jul 2010
    • 22

    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
  • maubp
    Peter (Biopython etc)
    • Jul 2009
    • 1544

    #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

    • MikeT
      Member
      • Jul 2010
      • 22

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

      Hope it helps!

      -MikeT

      Comment

      • maubp
        Peter (Biopython etc)
        • Jul 2009
        • 1544

        #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

        • MikeT
          Member
          • Jul 2010
          • 22

          #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

          • maubp
            Peter (Biopython etc)
            • Jul 2009
            • 1544

            #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

            • SEQadmin2
              From Collection to Sequencing: Why Sample Preparation and Preservation Define Sequencing Data
              by SEQadmin2


              Data variability is still an issue in sequencing technologies despite the advances in reproducibility and accuracy of these platforms. But the problem does not originate in the sequencing itself, but in the previous steps, before the sample reaches the sequencer.


              The first step is collection, followed by preservation and sample preparation for analysis. Most scientists overlook those steps, but not being careful might just be skewing the experiment’s results.
              ...
              Yesterday, 10:05 AM
            • SEQadmin2
              Single-Cell Sequencing at an Inflection Point: Early Impacts of New Platforms and Emerging Trends
              by SEQadmin2


              With the launch of new single-cell sequencing platforms in 2026, the field stands at an exciting inflection point. This article surveys the most impactful advances in the field and discusses how they’re reshaping research in cancer, immunology, and beyond.


              Introduction

              Single-cell sequencing technologies have undergone remarkable advances over the past decade, transitioning from low-throughput experimental approaches to highly scalable platforms capable of...
              05-22-2026, 06:42 AM
            • SEQadmin2
              Environmental Genomics in the Age of NGS: From Microbes to Conservation Strategies
              by SEQadmin2

              Studying ecosystems means dealing with complex, multi-species communities that are hard to observe at scale. This complexity, however, hides many important questions to be answered, from how biogeochemical cycles work and how climate change can affect species distribution to how conservation strategies can work best.


              Genomics, particularly since the expansion of NGS, has transformed ecosystem ecology. By sequencing environmental DNA, we can now assess biodiversity without direct...
              05-06-2026, 09:04 AM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by SEQadmin2, Yesterday, 12:03 PM
            0 responses
            19 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, Yesterday, 11:40 AM
            0 responses
            14 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 05-28-2026, 11:40 AM
            0 responses
            29 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 05-26-2026, 10:12 AM
            0 responses
            31 views
            0 reactions
            Last Post SEQadmin2  
            Working...