Can anyone give me the code for in-silico digestion of whole genome with two restriction enzyme in "R" through Biostrings package?
1
1
Entering edit mode
7 months ago
Bhowmik ▴ 10

Can anyone give me the code for in-silico digestion of whole genome with two restriction enzyme in "R" through Biostrings package?

whole-genome In-silico-digestion • 606 views
ADD COMMENT
2
Entering edit mode
7 months ago
Haci ▴ 730

DigestDNA() from the DECIPHER package does this, from the documentation:

# Restriction digest of Yeast Chr. 1 with EcoRI and EcoRV
data(yeastSEQCHR1)
sites <- RESTRICTION_ENZYMES[c("EcoRI", "EcoRV")]
seqs <- DigestDNA(sites, yeastSEQCHR1)
seqs[[1]]

pos <- DigestDNA(sites, yeastSEQCHR1, type="positions")
str(pos)
ADD COMMENT

Login before adding your answer.

Traffic: 1505 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6