Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • Newbie: extract subsequence

    Hello,

    I am new here and I was looking through previous posts on the topic which I fully intend to try. I have been using a program called fastahack (download here... https://github.com/ekg/fastahack) to extract subsequences from a fasta file (whole genome).

    IT has been working very well and is fairly simple to use. However, I need to extract multiple (more than 1000) subsequences so doing this manually would be out of the question.

    I would like to know if there is a way to use this program but have it extract multiple subsequences from a fasta file with different start and stop positions. I would like to use this same method on a different genome with, again, different start and stop positions so a 'generic' solution would be necessary.

    Please help if you can

    * perl script, incrementing loop??? edit program coding? batch files???

  • #2
    This question has been asked in this forum before IIRC. You can use Biopieces (www.biopieces.org) to solve this. Have a look at get_seq.

    Comment


    • #3
      you can do it using the seqinr R package for R quite easily with the getFrag command, but you need to know some R basics. If you do try this way make sure you do not set as.string to TRUE otherwise R needs to convert everything back to character first and takes twice as long.

      Comment


      • #4
        fastaFromBed from bedtools?

        Comment


        • #5
          Thank you all! At this point I am going to be using get_seq from biopieces. The only downfall to this is the many prerequisites but I'm working through them. Thank you very much maasha.

          Comment

          Latest Articles

          Collapse

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

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, 04-11-2024, 12:08 PM
          0 responses
          28 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-10-2024, 10:19 PM
          0 responses
          31 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-10-2024, 09:21 AM
          0 responses
          27 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-04-2024, 09:00 AM
          0 responses
          52 views
          0 likes
          Last Post seqadmin  
          Working...
          X