Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Shlomo Blum
    Member
    • Nov 2012
    • 10

    Pseudo-molecule

    Hi,

    How may I concatenate contigs into a single pseudo-molecule using a linker sequence? Does anyone know of a script for this purpose?
  • westerman
    Rick Westerman
    • Jun 2008
    • 1104

    #2
    Well if you don't care about contig ordering then just put a bunch of 'N's (I suggest 100) between each contig. I'd probably use 'sed' for this. Something like:

    sed -e 's/>.*/NNNNNNNNNNNNNNNNNN/' <input.fasta>output.fasta

    Then reformat if desired (I used fasta_formatter) and put a header on top of the combined sequence.

    Comment

    • Ciaran
      Junior Member
      • Sep 2011
      • 9

      #3
      I'm not really sure i understand what you are asking for or why.

      but here is my take;

      cat contigs.fa | perl -p -e 's/^>.*/LINKER/g' | perl -p -e 's/\n//g' > Pseudo.fa

      Comment

      Latest Articles

      Collapse

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, 06-05-2026, 10:09 AM
      0 responses
      12 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-04-2026, 08:59 AM
      0 responses
      24 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-02-2026, 12:03 PM
      0 responses
      28 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-02-2026, 11:40 AM
      0 responses
      22 views
      0 reactions
      Last Post SEQadmin2  
      Working...