Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • cmnailecin
    Junior Member
    • Dec 2012
    • 4

    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???
  • maasha
    Senior Member
    • Apr 2009
    • 153

    #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

    • Jeremy
      Senior Member
      • Nov 2009
      • 190

      #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

      • volks
        Member
        • Jun 2010
        • 80

        #4
        fastaFromBed from bedtools?

        Comment

        • cmnailecin
          Junior Member
          • Dec 2012
          • 4

          #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

          • 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
          23 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 06-30-2026, 05:37 AM
          0 responses
          23 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 06-26-2026, 11:10 AM
          0 responses
          23 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 06-17-2026, 06:09 AM
          0 responses
          55 views
          0 reactions
          Last Post SEQadmin2  
          Working...