Header Leaderboard Ad

Collapse

Combine two FASTA files

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.
      http://biopython.org/wiki/Mailing_lists

      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
            www.dnastar.com

            Comment

            Latest Articles

            Collapse

            • seqadmin
              Improved Targeted Sequencing: A Comprehensive Guide to Amplicon Sequencing
              by seqadmin



              Amplicon sequencing is a targeted approach that allows researchers to investigate specific regions of the genome. This technique is routinely used in applications such as variant identification, clinical research, and infectious disease surveillance. The amplicon sequencing process begins by designing primers that flank the regions of interest. The DNA sequences are then amplified through PCR (typically multiplex PCR) to produce amplicons complementary to the targets. RNA targets...
              03-21-2023, 01:49 PM
            • seqadmin
              Targeted Sequencing: Choosing Between Hybridization Capture and Amplicon Sequencing
              by seqadmin




              Targeted sequencing is an effective way to sequence and analyze specific genomic regions of interest. This method enables researchers to focus their efforts on their desired targets, as opposed to other methods like whole genome sequencing that involve the sequencing of total DNA. Utilizing targeted sequencing is an attractive option for many researchers because it is often faster, more cost-effective, and only generates applicable data. While there are many approaches...
              03-10-2023, 05:31 AM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by seqadmin, Yesterday, 12:26 PM
            0 responses
            7 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 03-17-2023, 12:32 PM
            0 responses
            15 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 03-15-2023, 12:42 PM
            0 responses
            21 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 03-09-2023, 10:17 AM
            0 responses
            68 views
            1 like
            Last Post seqadmin  
            Working...
            X