Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • correct syntax for species delimitation in a maf file

    Hi,

    I want to analyse and manipulate genome alignments with maffilter. So far I have only aligned two de-novo assembled genomes with LAST but as far as I can see, this can only align two genomes (which for now is sufficient, but for next genomes I have to switch to something like Mugsy I think).
    But my problem for now is, how to specify species in the maf-file? The assembled scaffolds were given as two multiple fasta files to LAST, with sequence names scaffold_1, _2 etc., and that is what maffilter is complaining about (scaffold_7 invalid sequence name). So somewhere the species have to be defined (although in a two species alignment where one is the reference this should be no problem?).

    I have researched the internet and nowhere I could find any clear statement how the sequences have to be named correctly either in the source fasta or in the resulting maf.

    Below is the first part of the two genome maf.

    Someone has an idea?

    Thanks!
    Code:
    # LAST version 553
    #
    # a=7 b=1 A=7 B=1 e=35 d=14 x=34 y=7 z=34
    # R=11 u=2 s=2 T=0 m=100 l=1 n=100 k=1 i=8192 w=1000 t=0.727769 g=1 j=3 Q=0
    # triaddb
    # Reference sequences=174 normal letters=91719965
    #
    #    A  C  G  T
    # A  1 -3 -3 -3
    # C -3  1 -3 -3
    # G -3 -3  1 -3
    # T -3 -3 -3  1
    #
    # Coordinates are 0-based.  For - strand matches, coordinates
    # in the reverse complement of the 2nd sequence are used.
    #
    # name start alnSize strand seqSize alignment
    #
    # m=1 s=35
    #
    a score=15539 mismap=1e-10
    s scaffold_7 1976237 16386 + 5881857 AGTAGTATGACAATGTTGATAAAACTTACGGTTCGGCTTCTAACGAGCTGATCTCAGCAACATAATTGCAGGGAATATAACCACGTAAGCCGCTACGTCT

  • #2
    Hello, I know that this is an old question, but may be it can help to someone using maffilter. I had the same problem and looking at the source code I figured out that maffilter is parsing sequence name and is expecting do there.
    I resolved the problem by renaming sequence names so that they contain dots

    Code:
    sed -i -e 's/scaffold_m16_p_1/mMolMol1.p1/g' test2.maf
    sed -i -e 's/scaffold_m19_p_1/mMyoMyo1.p1/g' test2.maf

    Comment

    Latest Articles

    Collapse

    • seqadmin
      Current Approaches to Protein Sequencing
      by seqadmin


      Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
      04-04-2024, 04:25 PM
    • seqadmin
      Strategies for Sequencing Challenging Samples
      by seqadmin


      Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
      03-22-2024, 06:39 AM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by seqadmin, 04-11-2024, 12:08 PM
    0 responses
    23 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 04-10-2024, 10:19 PM
    0 responses
    24 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 04-10-2024, 09:21 AM
    0 responses
    21 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 04-04-2024, 09:00 AM
    0 responses
    52 views
    0 likes
    Last Post seqadmin  
    Working...
    X