Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • balaena
    Member
    • Jan 2015
    • 29

    #1

    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
  • zajic
    Junior Member
    • Jul 2014
    • 2

    #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

    • 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, 10-22-2026, 11:13 AM
    0 responses
    40 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 10-22-2026, 10:48 AM
    0 responses
    29 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 10-15-2026, 10:52 AM
    0 responses
    42 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 10-14-2026, 05:39 AM
    0 responses
    45 views
    0 reactions
    Last Post SEQadmin2  
    Working...