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

        • kinpict.com
          Reply to 16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
          by kinpict.com
          The part about this topic feels surprisingly grounded, and the details on the page is the bit that made me slow down. I’d keep <a href="https://kinpict.com/">ai family photo generator</a> bookmarked for later.
          Today, 06:37 PM
        • SEQadmin2
          16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
          by SEQadmin2





          NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...
          10-30-2026, 06:46 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, 11-12-2026, 07:59 AM
        0 responses
        27 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 11-05-2026, 09:25 AM
        0 responses
        35 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 11-03-2026, 11:54 AM
        2 responses
        56 views
        0 reactions
        Last Post kinpict.com  
        Started by SEQadmin2, 10-28-2026, 09:57 AM
        0 responses
        175 views
        0 reactions
        Last Post SEQadmin2  
        Working...