Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • JWolters
    Member
    • Jan 2013
    • 13

    #1

    Fasta formatting issues

    I am trying to align a multifasta containing various regions of interest from a reference genome and align them to a contig assembled from pacbio reads generated from a related strain, just to get a picture of what regions are present and the degree of mismatch/rearrangement.

    Ive been trying to use nucmer, but am getting a strange error which I've put into the mummer-help mailing list and am still awaiting a response:
    "postnuc: tigrinc.cc:337: int Read_String(FILE*, char*&, long int&, char*, int): Assertion `Len > 0 && Line [Len - 1] == '\n'' failed."

    The syntax of the error message made me suspect there was a formatting issue with my sequences, but I could find no empty sequences, and no missing newline characters.

    I switched to just trying to run the alignment via blastn with the align 2 sequences option, but received the following error:
    "Message: Message: NCBI C++ Exception:# "local_db_adapter.cpp", line 123: Error: ncbi::blast::s_CheckForBlastSeqSrcErrors() - NCBI C++ Exception:# "blast_setup.hpp", line 190: Error: Sequence contains no data##"

    Once again it appears to be a formatting error in the fasta files, but I cannot find any empty sequences.

    Looking into it, I thought it might be an issue with the line length in the sequences. I've run nucmer before on sequences of 85 kbp all in one line in the fasta file and had no issues before, but I figured I would try it.

    So I transformed the fasta files to only have 80 characters per line in the sequences (max limit I read somewhere per line, but this does not seem be a standard rule).

    These transformed files gave the exact same error messages in both nucmer and nblast.

    I must be missing something, and if these error messages are anything to go by it should be something obvious but I just can't seem to find it.

    Couldn't attach the files due to size, so I've uploaded them here:
    Features, 80 char per line: http://pastebin.com/E1MyBstr
    Features: http://pastebin.com/rfsiiyKJ
    Contig (view as Raw):http://pastebin.com/tyVsEP8g
    Contig, 80 char per line: http://pastebin.com/DmZBCtiv


    Any help would be vastly appreciated!

    P.S. I thought I could use bwa to do this but apparently that is just for aligning fastq reads to a reference?
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #2
    Not answering your question directly ...

    I remember from a past thread that someone had suggested using "mauve" (http://gel.ahabs.wisc.edu/mauve/) for this type of analysis.

    Comment

    • JWolters
      Member
      • Jan 2013
      • 13

      #3
      After looking into this, Mauve really might be just the right tool for the job since it can apparently export sets of positionally orthologous features (genes, CDS, tRNA, and so on), thus getting me all the features in which I was interested.

      Thanks for the advice!

      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...