GithubHelp home page GithubHelp logo

crisprverse / crisprbowtie Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 432 KB

Bowtie-based alignment of CRISPR gRNA spacer sequences

License: MIT License

R 84.52% TeX 15.48%
aligner bioconductor bioconductor-package bowtie crispr crispr-analysis crispr-cas9 crispr-design crispr-target grna

crisprbowtie's Issues

crisprVerse issue with the function addSpacerAlignmentsIterative

Hi Jean-Philippe,

thanks for this great R package.

I would like to use crisprVerse package to design gRNAs in plant species and speed up the CRISPR construct design.

I have tested the package with the new sorghum genome (JGIv5) but I think something went wrong with the function addSpacerAlignmentsIterative

In particular, I do see differences in the results when I run the functions addSpacerAlignmentsIterative and runCrisprBowtie .

Although the parameter I used were the same ( bowtie, # mismatches, the two functions reported different results for the 21 spacers found :

  • addSpacerAlignmentsIterative reported 22, 75 and 1384 alignments
  • runCrisprBowtie reported 178 alignments.

Please see output below.

In addition, only few alignments derived from addSpacerAlignmentsIterative were properly stored in the S4 object guideSet:

image

For reproducibility, I have created a google drive folder with the data used and the R code to run the analysis:
https://drive.google.com/drive/folders/1SP7ijDdpKqB1ElWSpfAyewIsM0CJm2lJ?usp=share_link

#These are the outputs for a quick look:

addSpacerAlignmentsIterative(guideSet,
                                         aligner_index="Documents/Ref_sorghum/v5.1/assembly/Sbicolor_730_v5.0", #change the path to the index according to your local DIR
                                         aligner="bowtie",
                                         bsgenome=bsgenome,
                                         n_mismatches=3,
                                         both_strands = TRUE,
                                         canonical = FALSE)

[runCrisprBowtie] Using BSgenome.Sbicolor.JGI.sorBic5
[runCrisprBowtie] Searching for SpCas9 protospacers
reads processed: 21
reads with at least one alignment: 21 (100.00%)
reads that failed to align: 0 (0.00%)
Reported 21 alignments
[runCrisprBowtie] Using BSgenome.Sbicolor.JGI.sorBic5
[runCrisprBowtie] Searching for SpCas9 protospacers
reads processed: 21
reads with at least one alignment: 21 (100.00%)
reads that failed to align: 0 (0.00%)
Reported 22 alignments
[runCrisprBowtie] Using BSgenome.Sbicolor.JGI.sorBic5
[runCrisprBowtie] Searching for SpCas9 protospacers
reads processed: 21
reads with at least one alignment: 21 (100.00%)
reads that failed to align: 0 (0.00%)
Reported 75 alignments
[runCrisprBowtie] Using BSgenome.Sbicolor.JGI.sorBic5
[runCrisprBowtie] Searching for SpCas9 protospacers
reads processed: 21
reads with at least one alignment: 21 (100.00%)
reads that failed to align: 0 (0.00%)
Reported 1384 alignments

crisprNuclease <- SpCas9
spacers <- as.character(protospacers(guideSet))
runCrisprBowtie(spacers,
                crisprNuclease=crisprNuclease,
                n_mismatches=3,
                canonical=FALSE,
                all_alignments = TRUE,
                bowtie_index="Documents/Ref_sorghum/v5.1/assembly/Sbicolor_730_v5.0")  #change the path to the index according to your local DIR

[runCrisprBowtie] Searching for SpCas9 protospacers
reads processed: 84
reads with at least one alignment: 84 (100.00%)
reads that failed to align: 0 (0.00%)
Reported 178 alignments

Thanks,
Edo

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.