Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • question with read.HTSeqCounts function in DEXSeq package

    Hi,

    recently I tried to use DEXSeq package to estimate the differentially incorporated exons. I had a problem when I am trying to read the files.

    My pipeline is:
    1. annotation_DEXSeq<-"/Users/lxz/Dropbox/protocol/3-database/human_genome/Homo_sapiens.GRCh37.65.DEXSeq.gff"
    2. file_path_ALK<-"/Users/lxz/Dropbox/Lab_Resource/RNAseq/1-data-processing/10-splicing/2-DEXSeq/1-DEXSeq-results"
    3. samples_DHL=data.frame(condition=c(rep("control",3),rep("treated",3)),row.names=dir(file_path_ALK,pattern="DEXSeq_DHL.txt"),stringsAsFactors=TRUE, check.names=FALSE)
    > samples_DHL
    condition
    control01_DEXSeq_DHL.txt control
    control02_DEXSeq_DHL.txt control
    control03_DEXSeq_DHL.txt control
    treated01_DEXSeq_DHL.txt treated
    treated02_DEXSeq_DHL.txt treated
    treated03_DEXSeq_DHL.txt treated

    4. DHL_DEXSeq=read.HTSeqCounts(countfiles=file.path(file_path_ALK,rownames(samples_DHL)),design=samples_DHL,flattenedfile=annotation_DEXSeq)

    the error message is:
    "Error in order(aggregates$gene_id) :
    unimplemented type 'list' in 'orderVector1
    "

    any idea what is the problem and how to fix it?
    Thanks.


    R environment is listed here.
    > sessionInfo()
    R version 2.15.1 (2012-06-22)
    Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)

    locale:
    [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

    attached base packages:
    [1] stats graphics grDevices utils datasets methods base

    other attached packages:
    [1] DEXSeq_1.4.0 Biobase_2.18.0 BiocGenerics_0.4.0 BiocInstaller_1.8.3

    loaded via a namespace (and not attached):
    [1] biomaRt_2.14.0 hwriter_1.3 RCurl_1.95-3 statmod_1.4.16 stringr_0.6.2 tools_2.15.1
    [7] XML_3.95-0.1

  • #2
    This looks like something is wrong with your flattened annotation file. Have you had a look inside it to check whether it looks alright? Does 'read.HTSeqCounts' work if you don't pass the annotation file?

    Comment


    • #3
      Originally posted by Simon Anders View Post
      This looks like something is wrong with your flattened annotation file. Have you had a look inside it to check whether it looks alright? Does 'read.HTSeqCounts' work if you don't pass the annotation file?
      Hi, Simon:

      thanks. The error message disappear when I did not include the annotation file in the read.HTSeqCounts. I will check whether the downstream analysis work or not.

      I also check the number of the line in reference and output.
      Length of reference is 619124; length of output is 567380.
      So a follow-up question, does this mean if reference and output are not in the same length, then I should not pass annotation file to read.HTSeqCounts?
      Thanks.

      Comment

      Latest Articles

      Collapse

      • seqadmin
        Quality Control Essentials for Next-Generation Sequencing Workflows
        by seqadmin




        Like all molecular biology applications, next-generation sequencing (NGS) workflows require diligent quality control (QC) measures to ensure accurate and reproducible results. Proper QC begins at nucleic acid extraction and continues all the way through to data analysis. This article outlines the key QC steps in an NGS workflow, along with the commonly used tools and techniques.

        Nucleic Acid Quality Control
        Preparing for NGS starts with isolating the...
        02-10-2025, 01:58 PM
      • seqadmin
        An Introduction to the Technologies Transforming Precision Medicine
        by seqadmin


        In recent years, precision medicine has become a major focus for researchers and healthcare professionals. This approach offers personalized treatment and wellness plans by utilizing insights from each person's unique biology and lifestyle to deliver more effective care. Its advancement relies on innovative technologies that enable a deeper understanding of individual variability. In a joint documentary with our colleagues at Biocompare, we examined the foundational principles of precision...
        01-27-2025, 07:46 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, 02-07-2025, 09:30 AM
      0 responses
      68 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 02-05-2025, 10:34 AM
      0 responses
      107 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 02-03-2025, 09:07 AM
      0 responses
      83 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 01-31-2025, 08:31 AM
      0 responses
      47 views
      0 likes
      Last Post seqadmin  
      Working...
      X