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
              Essential Discoveries and Tools in Epitranscriptomics
              by seqadmin




              The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
              04-22-2024, 07:01 AM
            • 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

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by seqadmin, Yesterday, 11:49 AM
            0 responses
            13 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-24-2024, 08:47 AM
            0 responses
            16 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-11-2024, 12:08 PM
            0 responses
            61 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-10-2024, 10:19 PM
            0 responses
            60 views
            0 likes
            Last Post seqadmin  
            Working...
            X