Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • 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?

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

    Comment


    • #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


      • #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


        • #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


          • #6
            Hi Calici

            Try SeqNinja from DNASTAR
            Bioinformatics tool innovators since 1984, DNASTAR Lasergene provides a complete software solution for life science researchers. Learn more.

            Comment

            Latest Articles

            Collapse

            • 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
            • seqadmin
              Techniques and Challenges in Conservation Genomics
              by seqadmin



              The field of conservation genomics centers on applying genomics technologies in support of conservation efforts and the preservation of biodiversity. This article features interviews with two researchers who showcase their innovative work and highlight the current state and future of conservation genomics.

              Avian Conservation
              Matthew DeSaix, a recent doctoral graduate from Kristen Ruegg’s lab at The University of Colorado, shared that most of his research...
              03-08-2024, 10:41 AM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by seqadmin, Yesterday, 06:37 PM
            0 responses
            11 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, Yesterday, 06:07 PM
            0 responses
            10 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 03-22-2024, 10:03 AM
            0 responses
            51 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 03-21-2024, 07:32 AM
            0 responses
            68 views
            0 likes
            Last Post seqadmin  
            Working...
            X