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
            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...
            Yesterday, 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, 04-11-2024, 12:08 PM
          0 responses
          55 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-10-2024, 10:19 PM
          0 responses
          52 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-10-2024, 09:21 AM
          0 responses
          45 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-04-2024, 09:00 AM
          0 responses
          55 views
          0 likes
          Last Post seqadmin  
          Working...
          X