Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • sunsnow86
    Member
    • Jul 2010
    • 17

    Is there a in silico enzyme digestion script?

    I am looking for a in silico enzyme digestion program which I can input the enzyme name, cognite sequence, and the genome to be scanned against. the output will the size distribution of the resulting fragment, also a BED format file with fragment coordiate, like chrom, start, end etc. Anyone has such a program and would like to share with me. Thanks a lot!
  • maasha
    Senior Member
    • Apr 2009
    • 153

    #2
    Hello,


    This can be done with Biopieces (www.biopieces.org) using digest_seq and BamHI as an example:


    Code:
    read_fasta -i genome.fna | digest_seq -p GGATCC -c 1 | plot_lendist -k SEQ_LEN -x
    To get a BED file:

    Code:
    read_fasta -i genome.fna | digest_seq -p GGATCC -c 1 | rename_keys -k SEQ_NAME,S_ID | write_bed -xo fragments.bed
    Or to do both in one go:

    Code:
    read_fasta -i genome.fna |
    digest_seq -p GGATCC -c 1 |
    plot_lendist -k SEQ_LEN -t post -o dist_plot.ps |
    rename_keys -k SEQ_NAME,S_ID |
    write_bed -xo fragments.bed

    Restriction enzyme patterns and cut positions are found at REBASE http://rebase.neb.com - or by typing "rescan_seq --help"


    Cheers,


    Martin

    Comment

    • azneto
      Member
      • Dec 2009
      • 24

      #3
      You definitely should take a look at the remap tool from the EMBOSS package.

      Cheers,
      Adhemar

      Comment

      • sunsnow86
        Member
        • Jul 2010
        • 17

        #4
        thank you!

        Thank you for helping me out! I will give a try.

        Comment

        • sunsnow86
          Member
          • Jul 2010
          • 17

          #5
          I have difficulty to run the command. I installed the packages in my desktop, and follow the instructions which listed in the web. I am not sure whether the code is sourced, and I run the test code, it seems nothing changed. Could you give more detailed information on how to install it and test it since I am a bench scientist, not that familiar with the command line program. Thanks

          nexgen@nexgen-desktop:~/Desktop/biopieces$ bp_test
          bp_test: command not found

          Comment

          • maasha
            Senior Member
            • Apr 2009
            • 153

            #6
            Did you add the following section to your ~/.bashrc file:

            Code:
            # >>>>>>>>>>>>>>>>>>>>>>> Enabling Biopieces if installed <<<<<<<<<<<<<<<<<<<<<<<
            
            # Modify the below paths according to your settings.
            # If you have followed the installation step-by-step as described above,
            # the below should work just fine.
            
            export BP_DIR="$HOME/biopieces"  # Directory where biopieces are installed
            export BP_DATA="$HOME/BP_DATA"   # Contains genomic data etc.
            export BP_TMP="$HOME/tmp"        # Required temporary directory.
            export BP_LOG="$HOME/BP_LOG"     # Required log directory.
            
            if [ -f "$BP_DIR/bp_conf/bashrc" ]; then
                source "$BP_DIR/bp_conf/bashrc"
            fi  
            
            # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
            AND

            run the command

            Code:
            source ~/.bashrc

            Martin

            Comment

            • raphael123
              Member
              • Dec 2013
              • 37

              #7
              Hi, I am confronting the same problem, in silico digestion for CCGG .
              I have a file with hg19 and one line per chromosome sequence and I do :

              Code:
              cat hg19.txt | sed "s/[COLOR="DarkRed"]CCGG[/COLOR]/\n/g" | awk '{l=length($1); mem[l]++;}
              END{for(i=0;i<=1000;i++){print mem[i]}}'
              Is it stupid ? I don t understand why this team have so different results ....

              Here is my results for instance : I have 9975 time one nucleotide between 2 CCGG's

              Any idea ?

              Comment

              Latest Articles

              Collapse

              • 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
              • SEQadmin2
                From Collection to Sequencing: Why Sample Preparation and Preservation Define Sequencing Data
                by SEQadmin2


                Data variability is still an issue in sequencing technologies despite the advances in reproducibility and accuracy of these platforms. But the problem does not originate in the sequencing itself, but in the previous steps, before the sample reaches the sequencer.


                The first step is collection, followed by preservation and sample preparation for analysis. Most scientists overlook those steps, but not being careful might just be skewing the experiment’s results.
                ...
                06-02-2026, 10:05 AM

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by SEQadmin2, 06-26-2026, 11:10 AM
              0 responses
              12 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 06-17-2026, 06:09 AM
              0 responses
              46 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 06-09-2026, 11:58 AM
              0 responses
              106 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 06-05-2026, 10:09 AM
              0 responses
              125 views
              0 reactions
              Last Post SEQadmin2  
              Working...