Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • easolvig
    Junior Member
    • Oct 2012
    • 2

    #1

    BLASTp output format problem

    Hello to all the members!

    This is my first post here on SEQanswers.

    Today I was updating the BLASTp application on the nodes of our grid to the latest version and, after running some jobs to test it, I noticed that the output files have different number of lines depending on the output format. (CSV and tabular format.)

    I used the same database and query file for both run, the only difference was the output format parameter:
    blastp -evalue 0.1 -db F10DRD -out test_output_f10drd_180.txt -outfmt '10 qseqid sseqid qstart qend evalue' -query f10drd_180.fas
    blastp -evalue 0.1 -db F10DRD -out test_output_f10drd_180.txt -outfmt '6 qseqid sseqid qstart qend evalue' -query f10drd_180.fas

    The output CSV file contained 1288845, the tabular file contained 1293150.
    I replaced the \t characters with commas in the tabular file and compared the two outputs with diff. It showed that the tabular file contains all lines from the CSV, but has 4305 more.

    I would like to ask if any of you noticed the same problem before.

    Thank you for your time and your answers!
  • Torst
    Senior Member
    • Apr 2008
    • 275

    #2
    I tried to replicate yoru results with BLAST 2.2.27+ using blastn and 1000 sequences:

    Code:
    formatdb -i contigs.fa -p F -o T
    
    blastn -query contigs.fa -db ./contigs.fa -evalue 0.1 -out blast.csv -outfmt '10 qseqid sseqid qstart qend evalue'
    blastn -query contigs.fa -db ./contigs.fa -evalue 0.1 -out blast.tsv -outfmt '6 qseqid sseqid qstart qend evalue'
    
    wc -l blast.*
    14858 blast.csv
    14858 blast.tsv
    The number of lines matched for me. I know this is a one-off, but comforting for me at least.

    Are you using version 2.2.27 ?
    Did you use "-parse_seqids" for makeblastdb? (or -o T for formatdb)
    Are the sequence IDs unique in your database file?

    Comment

    • easolvig
      Junior Member
      • Oct 2012
      • 2

      #3
      Thank you for your reply, Torst!

      Yes, -o T was used for formatdb, the IDs are unique and it is the 2.2.27 version. The problem was caused by something else.

      After spending days with running several tests with different queries to find the source of this problem I found that those test jobs that completed in less than ~3 hours produced the same output in both CSV and tabular format. This led to ask for our computing grid’s error logs from the administrator.

      I finally got the logs and it revealed that the different output files were the result of an incorrectly set CPU limit assigned to our account. It was a recent change what we were unaware of. Now, after they corrected it, the test runs I made gave correct and identically results.


      I am sorry for taking your time with this question.
      Last edited by easolvig; 10-13-2012, 03:27 AM.

      Comment

      • Torst
        Senior Member
        • Apr 2008
        • 275

        #4
        Glad it worked out, and there wasn't a bug in BLAST+.

        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, Yesterday, 11:13 AM
        0 responses
        19 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, Yesterday, 10:48 AM
        0 responses
        18 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-15-2026, 10:52 AM
        0 responses
        36 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-14-2026, 05:39 AM
        0 responses
        42 views
        0 reactions
        Last Post SEQadmin2  
        Working...