Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • cmccabe
    Senior Member
    • Jul 2012
    • 355

    BED to sequence

    Is there a tool or code that will extract base sequence from a BED file?
    If a amplicon in a BED file covers 100 bases can I obtain that base information?
    I believe the coordinates are from ensemble. Thank you.
  • cmccabe
    Senior Member
    • Jul 2012
    • 355

    #3
    sequeence from BED

    Where do I use this command?

    getFastaFromBed -tab -fi NS12911_noonan14.fasta -bed 14noonan.bed –fo

    bedtools getfasta -tab -fi NS12911_noonan14.fasta -bed 14noonan.bed

    I have Bedtools 2.17.0 and have the bed and fasta in the main directory. Thanks.

    Comment

    • GenoMax
      Senior Member
      • Feb 2008
      • 7142

      #4
      Originally posted by cmccabe View Post
      Where do I use this command?

      getFastaFromBed -tab -fi NS12911_noonan14.fasta -bed 14noonan.bed –fo

      bedtools getfasta -tab -fi NS12911_noonan14.fasta -bed 14noonan.bed

      I have Bedtools 2.17.0 and have the bed and fasta in the main directory. Thanks.
      Provided Bedtools executables are in your $PATH run the command like this. The output will be stored in the file called "output_fasta.fa" in example below (change name as needed)

      Code:
      getFastaFromBed -fi NS12911_noonan14.fasta -bed 14noonan.bed –fo output_fasta.fa
      OR

      Code:
      bedtools getfasta -fi NS12911_noonan14.fasta -bed 14noonan.bed -fo output_fasta.fa
      If you need the sequences in Tab format then add -tab.

      Comment

      • cmccabe
        Senior Member
        • Jul 2012
        • 355

        #5
        sequence from BED

        I do not think I have the executable as I am gettig a bedtools not reconized.
        Do you know where I can get the exe.? I have attached a screenshot of the directory and in dos do a cd there first
        then use the command:

        bedtools getfasta -fi NS12911_noonan14.fasta -bed 14noonan.bed -fo output_fasta.fa - tab

        (the directory has the bed and the fasta in it as well but I removed them to decrease the attachment size). Thanks.
        Last edited by cmccabe; 07-16-2013, 12:06 PM.

        Comment

        • GenoMax
          Senior Member
          • Feb 2008
          • 7142

          #6
          Oops .. we did not realize that you are referring to windows environment (based on your screenshot).

          Descriptions of the bedtools above were for Unix/Linux.

          I looked for windows versions and the one I see looked suspect so I am not going to link it here. Official releases of bedtools are only for unix/linux/os x.

          Do you have any experience with Unix/command line?

          Comment

          • cmccabe
            Senior Member
            • Jul 2012
            • 355

            #7
            sequence from BED

            Yes, we have ubuntu 10.0.4 and I think bedtools might be installed on there. Windows would be easier as the files are there, but I will confirm. Thanks

            Comment

            • dnewkirk
              Junior Member
              • Mar 2009
              • 8

              #8
              You may be able to use Galaxy as well, which would allow you to keep everything on Windows.

              Link: https://main.g2.bx.psu.edu

              Comment

              • GenoMax
                Senior Member
                • Feb 2008
                • 7142

                #9
                Galaxy may be a good option as suggested by dnewkirk. bedtools should run quickly even on main galaxy.

                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
                25 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 06-30-2026, 05:37 AM
                0 responses
                24 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...