Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • sagarutturkar
    replied
    Originally posted by fkrueger View Post
    Hmm, have you tried repeating the run with -a instead of -b? When we trim Nextera adapters we run Cutadapt with -a CTGTCTCTTATA which does the job just nicely (in fact I have done this only an hour ago). If you wanted to use Trim Galore (a wrapper around Cutadapt) you can use the version attached (v0.3.8) with the option --nextera. Usage is simply:
    Code:
    trim_galore --paired --nextera myRead_S1_L001_R1_001.fastq myRead_S1_L001_R2_001.fastq
    I second this comment - TrimGalore successfully removed the Nextera adapters (that could not be removed by cutadapt).

    Leave a comment:


  • apredeus
    replied
    Your read qualities are fine. Could be a lot worse. There were some systematic problems with R2 qualities due to NextSeq reagent problems, you can search these forums for more detail.

    You are getting this much transposase though because your insert size is too small. You are essentially sequencing all the way to the other end's adaptor. You need larger fragments for sure.

    And most people don't use read trimming anymore because most modern aligners do read soft-clipping.

    Leave a comment:


  • fkrueger
    replied
    Hmm, hard to tell. But reads that long always show a similar decline towards the 3' end, I don't think its much different for MiSeq to be honest. I would just go ahead with your analysis and see how that goes. You could always come back and perform something more stringent afterwards.

    Leave a comment:


  • ClemBuntu
    replied
    Ok that makes sense thanks.
    But do you think it's "normal" that the boxplots extremities are this low ? i.e. up to 14 for 84 -150 bp.
    I used to use cutadapt and the boxplot I obtained are way better than this one, but it's my 1st nextseq run so maybe the quality is lower than HiSeq and MiSeq ?

    Leave a comment:


  • fkrueger
    replied
    Glad to hear that you got the adapter trimming sorted. I suppose the reason why there are still qualities lower than 30 in the file is because the Cutadapt doesn't immediately truncate a sequence as soon as it hits a certain threshold but it uses an algorithm for that:
    Code:
    -q CUTOFF, --quality-cutoff=CUTOFF
                            Trim low-quality ends from reads before adapter
                            removal. The algorithm is the same as the one used by
                            BWA (Subtract CUTOFF from all qualities; compute
                            partial sums from all indices to the end of the
                            sequence; cut sequence at the index at which the sum
                            is minimal) (default: 0)
    So if you only get a single dip in a sequence but all basecalls afterwards are fine again the sequence might pass nevertheless. Does that make sense?

    Leave a comment:


  • ClemBuntu
    replied
    Launching 'cutadapt' command or all the pathway give me the same thing.

    Anyway, I change the Trim Galore source code as you said and now it works

    According to FastQC the nextera adapter was well remove.
    Now my 2nd question, I used Trim Galore like that :
    ~/trim_galore --paired -q 30 --nextera myReads_S1_L001_R1_001.fastq myReads_S1_L001_R2_001.fastq -o TrimGaloreTry/
    And after I used FastQC on the files I get at the output and I obtained the quality plots I attached.
    My question is : with the "-q 30" option all reads should have a phred score greater or equal than 30, but that's not what FastQC show me. Why ?

    (Edit : I also used cutadapt "manually" and FastQC gave me the same plots)
    Attached Files
    Last edited by ClemBuntu; 01-22-2015, 05:56 AM.

    Leave a comment:


  • fkrueger
    replied
    what do you get when you run:
    Code:
    alias cutadapt='/home/myhome/Python-2.7.9/python /home/myhome/cutadapt-1.7.1/bin/cutadapt'
    and then
    Code:
    cutadapt
    You need to get this command to work, or it won't work within Trim Galore. You could also supply '/home/myhome/Python-2.7.9/python /home/myhome/cutadapt-1.7.1/bin/cutadapt' (or rather a version of it that is working) as the path to Cutadapt in one of the first lines of Trim Galore.

    Leave a comment:


  • ClemBuntu
    replied
    Hi,
    I've use -b option because it does both 3' or 5' adapters instead of -a doing only 3'

    By the way the adapters were fine removed :
    Cutadapt output :
    === Adapter 1 ===

    Sequence: CTGTCTCTTATACACATCTGACGCTGCCGACGA; Type: variable 5'/3'; Length: 33; Trimmed: 2306073 times.

    === Adapter 1 ===

    Sequence: CTGTCTCTTATACACATCTCCGAGCCCACGAGAC; Type: variable 5'/3'; Length: 34; Trimmed: 2036017 times.
    So the results I obtained with fastq are very strange right ? Did I use it wrong ? Maybe I forgot an option but that seems odd.

    I'v tried to use trim_galore, I've change my .bashrc in order to make this software working, like that :
    alias cutadapt='/home/myhome/Python-2.7.9/python /home/myhome/cutadapt-1.7.1/bin/cutadapt'
    export PATH=$PATH:/home/myhome/FastQC/

    And I got this error :

    >>> Now performing quality (cutoff 30) and adapter trimming in a single pass for the adapter sequence: 'CTGTCTCTTATA' from file myReads_S1_L001_R1_001.fastq <<<
    Traceback (most recent call last):
    File "/home/myhome/cutadapt-1.7.1/bin//cutadapt", line 9, in ?
    from cutadapt.scripts import cutadapt
    File "/home/myhome/cutadapt-1.7.1/cutadapt/__init__.py", line 9
    except ImportError as e:
    ^
    SyntaxError: invalid syntax
    I got the same error when I tried to run cutadapt with an old python (v2.4), but the alias in my .bashrc should fix it...
    Last edited by ClemBuntu; 01-22-2015, 02:08 AM.

    Leave a comment:


  • fkrueger
    replied
    Hmm, have you tried repeating the run with -a instead of -b? When we trim Nextera adapters we run Cutadapt with -a CTGTCTCTTATA which does the job just nicely (in fact I have done this only an hour ago). If you wanted to use Trim Galore (a wrapper around Cutadapt) you can use the version attached (v0.3.8) with the option --nextera. Usage is simply:
    Code:
    trim_galore --paired --nextera myRead_S1_L001_R1_001.fastq myRead_S1_L001_R2_001.fastq
    Attached Files

    Leave a comment:


  • Trying to remove nextera transposase sequence using cutadapt and fastqc

    Hello everybody,

    We just launched a nextseq500 run recently.
    I analyzed it with Fastqc and I obtained an error at the adapter content plot. It seems like the nextera transposase sequence is too high (see the files).

    So I've tried to trim my reads with cutadapt thus I used the following commands because I'm in paired-end :

    Python-2.7.9/python ~/cutadapt-1.7.1/bin/cutadapt -q 30 -b CTGTCTCTTATACACATCTGACGCTGCCGACGA --minimum-length 20 --overlap=5 -o tmpl1.1.fastq --paired-output tmpl1.2.fastq myRead_S1_L001_R1_001.fastq myRead_S1_L001_R2_001.fastq

    Python-2.7.9/python ~/cutadapt-1.7.1/bin/cutadapt -b CTGTCTCTTATACACATCTCCGAGCCCACGAGAC --minimum-length 20 -q 30 --overlap=5 -o myReads_S1_L001_R2_001.trimmed.fastq --paired-output myReads_S1_L001_R1_001.trimmed.fastq tmpl1.2.fastq tmpl1.1.fastq

    And then I checked my results like this :

    /FastQC/fastqc myReads_S1_L001_R1_001.trimmed.fastq -t 4 -o FASTQTRY/

    Finally I obtained the same plots ! For adapters plots and quality plots as well !

    How is that possible ? How can some reads have a quality score less than 30 ?
    Attached Files
    Last edited by ClemBuntu; 01-21-2015, 08:04 AM.

Latest Articles

Collapse

  • SEQadmin2
    16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
    by SEQadmin2




    NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification, detection...
    Today, 06:46 AM
  • SEQadmin2
    Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
    by SEQadmin2



    Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

    Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
    ...
    10-14-2026, 09:55 AM

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by SEQadmin2, 10-28-2026, 09:57 AM
0 responses
22 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-28-2026, 09:51 AM
0 responses
14 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-22-2026, 11:13 AM
0 responses
67 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-22-2026, 10:48 AM
0 responses
47 views
0 reactions
Last Post SEQadmin2  
Working...