Giter VIP home page Giter VIP logo

Comments (3)

dbudinger avatar dbudinger commented on August 20, 2024 1

Hi,
thank you so much for the help! It works great now :)
Best!
Dimitri

from crispresso2.

dbudinger avatar dbudinger commented on August 20, 2024

The amplicon sequence is the following: GCAGGGGGCAAAGAGAGGCCGGGGAGCAAGGAGGAGGTGGATGAAGACCGCGACGTCGATGAGTCCTCCCCCCAAGACTCCCCTCCCTCCAAGGCCTCCCCAGCCC
The gRNA is the following: GGGAGGACTCATCGACGTCG

And the fastq sample example is attached.
APOE34-MAPT1-CR-clone35-C11-DB-FR-NIM_S124_L001_R1_001.fastq.gz

from crispresso2.

kclem avatar kclem commented on August 20, 2024

Hi @dbudinger

Sorry about the confusion. I took a look at the fastq file you sent. The first read does indeed contain the amplicon, but it also contains a lot of other sequence before and after the amplicon sequence:

read: GCTTCTAGGAGACCTGCACNAGGAGGGGCCGCCGCTGAAGGGGGCAGGGGGCAAAGAGAGGCCGGGGAGCAAGGAGGAGGTGGCTGAAGACCGCGACGTCGATGAGAGCACCCCCCAAAACTCCCCTCCCTCCAAGACGTCCCCAGCCCACGATGGGAGGCCTCCCCAGACAGCCGCCAGAGAATCCACCAGCATACTGTCTCTTATACACATCTCCGAGCCCACGAGACGATGCCTTACATCTCGTATGCCGTCTTCTGCTTGAAAAAAAAAAAAAAAAACACAACGGACGACCACAGAC
amplicon:                                        GCAGGGGGCAAAGAGAGGCCGGGGAGCAAGGAGGAGGTGGATGAAGACCGCGACGTCGATGAGTCCTCCCCCCAAGACTCCCCTCCCTCCAAGGCCTCCCCAGCCC

CRISPResso requires reads to align to the amplicon with a minimum 60% similarity, and because this alignment only has 106bp/301bp = 35% similarity, it is discarded.

In order to run CRISPResso, you need to trim the reads to only contain the amplicon sequence.

You can use this doing cutadapt. For example, I created a trimmed file with the following commands:

cutadapt -g GCTTCTAGGAGACCTGCACNAGGAGGGGCCGCCGCTGAAGGGG APOE34-MAPT1-CR-clone35-C11-DB-FR-NIM_S124_L001_R1_001.fastq.gz -o half.fastq.gz -e 0.2
cutadapt -a ATGGGAGGCCTCCCCAGACAGCCGCCAGAGAATCCACCAGCATACTGTCTCTTATACACATCTCCGAGCCCACGAGACGATGCCTTACATCTCGTA -e 0.2 half.fastq.gz -o trimmed.fastq.gz

trimmed.fastq.gz

This runs successfully and produces the following output.

image

Let me know if you'd like me to trim other files for you.

from crispresso2.

Related Issues (20)

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.