Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Calico
    Member
    • Jan 2010
    • 12

    Combine two FASTA files

    I have a couple of fasta files I want to combine, two and two. They're >1 GB so reading them in R is too time consuming. I'm running a Mac on which I can't get Biopython to work and I don't find any tool for this specific purpose on Galaxy.

    Does anybody have any suggestion/solution for my problem?
  • vivek_
    PhD Student
    • Jul 2012
    • 164

    #2
    Can't you just concatenate the two files using cat if there are no duplicates?

    Comment

    • maubp
      Peter (Biopython etc)
      • Jul 2009
      • 1544

      #3
      I was also going to suggest the command line tool cat, e.g.

      Code:
      cat file1.fasta file2.fasta > combined.fasta
      Biopython should work fine on the Mac - using the Apple provided Python, the Python.org version, etc. Please seek help on our mailing list, or start a new thread here.

      Comment

      • Calico
        Member
        • Jan 2010
        • 12

        #4
        vivek_: Thanks, that worked quite beautifully. I would never have expected the solution to be that trivial.

        maubp: Yes, Biopython should work but it's not too easy to install NumPy and SciPy properly, I've found. I'm no terminal wizz.

        Comment

        • maubp
          Peter (Biopython etc)
          • Jul 2009
          • 1544

          #5
          Biopython doesn't need SciPy, and (on some versions of Mac OS at least) NumPy is already provided by Apple (although not the latest version). You can also install Biopython without NumPy (thins like PDB 3D structures won't work).

          Comment

          • SONIC
            Junior Member
            • Sep 2012
            • 1

            #6
            Hi Calici

            Try SeqNinja from DNASTAR

            Comment

            Latest Articles

            Collapse

            • GATTACAT
              Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
              by GATTACAT
              Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
              07-01-2026, 11:43 AM
            • SEQadmin2
              Nine Things a Sample Prep Scientist Thinks About Before Sequencing
              by SEQadmin2


              I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.

              Here are nine questions we think about, in roughly the order they matter, before...
              06-18-2026, 07:11 AM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by SEQadmin2, 07-02-2026, 11:08 AM
            0 responses
            7 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 06-30-2026, 05:37 AM
            0 responses
            12 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 06-26-2026, 11:10 AM
            0 responses
            20 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 06-17-2026, 06:09 AM
            0 responses
            54 views
            0 reactions
            Last Post SEQadmin2  
            Working...