Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • staszekdh
    Junior Member
    • Dec 2018
    • 2

    cufflinks does not understand strands?

    Dear All,

    I used STAR to map paired-end reads onto the reference genome:

    Code:
    ~/apps/STAR/bin/Linux_x86_64/STAR --runMode alignReads \
    				  --runThreadN 10 \
    				  --genomeDir ../../../genome/GCA_..../ \
    				  --readFilesIn R1.fastq R2.fastq \
    				  --outFilterIntronMotifs RemoveNoncanonical \
    				  --outSAMattrIHstart 0 \
    				  --alignIntronMax 1 \
    				  --alignMatesGapMax 200 \
    				  --outFileNamePrefix ./out/ \
    				  --limitBAMsortRAM 1048477838 \
    				  --peOverlapNbasesMin 0 \
    				  --quantMode GeneCounts \
    The mapping looks good:



    Note that reads are colored according to the "first-of-pair strand" rule.

    The next step is reference-guided transcripts reconstruction. To this end, I tried to use cufflinks, but without success:

    Code:
    ~/apps/cufflinks-2.2.1.Linux_x86_64/cufflinks -o ./out/ \
    					      -p 10 \
    					      --library-type fr-firststrand \
    					      -g ../../../genome/GCA_XXX/GCA_XXX.gff \
    					      ../star/out_mock_rep2_clean/Aligned.sortedByCoord.out.bam
    First, I got a weird warning:

    Code:
    Warning: Using default Gaussian distribution due to insufficient paired-end reads in open ranges.  It is recommended that correct parameters (--frag-len-mean and --frag-len-std-dev) be provided.
    Second, the predicted transcripts look odd. For example, the two genes (gene0 and gene1 - see image above) were merged into a single transcript, despite they have the opposite orientation!

    I would appreciate some hints on that.

    Best wishes,
    Staszek
  • staszekdh
    Junior Member
    • Dec 2018
    • 2

    #2
    Problem solved. I used HISAT2 with "--rna-strandness RF" + stringtie and now I get reasonable results.

    HISAT2:

    Code:
    $HISAT2_HOME/hisat2 -q \
                    -p 10 \
                    -x ../../../genome/genome/XX \
                    -1 ../B1R_S1_R1_001.clean.fastq \
                    -2 ../B1R_S1_R2_001.clean.fastq \
                    -S out_mock_rep1_clean/alns.sam \
                    --fr \
                    --rna-strandness RF \
                    --dta
    stringtie:

    Code:
    ~/apps/stringtie-1.3.5.Linux_x86_64/stringtie \
    	../hisat/out_mock_rep1_clean/alns.sorted.bam \
    	-o ./out_mock_rep1_clean/out.gtf \
    	-p 10 \
    	--fr \
            -G ../../../genome/xxx.gff
    BTW: I found this post useful

    Comment

    • ashishbansal
      Member
      • Dec 2018
      • 17

      #3
      Tophat/Cufflinks are not for assembly, they are for alignment to an already assembled genome or transcriptome. What are you aligning your reads to? Also, if you have strand specific data, you shouldn't choose an unstranded library type. You should choose the proper one based on your library preparation method. The XS tag will only be placed on split reads if you choose an unstranded library type.
      Clinical Research

      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
      48 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...