Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • jazz710
    Member
    • Oct 2012
    • 41

    SPP and Rsamtools Not Playing Nicely

    Hello all,

    I'm trying to analyze my ChIP-seq dataset using SPP but I keep getting the following error when I try to load my BAM files:

    "Rsamtools Bioconductor package is now required for BAM file support. Please install"

    The issue is that I have Rsamtools installed via biocLite. I can load it with no errors, and I see it in my RPackages folder. Has anyone run into a similar issue and know of a solution? I'm sure it's just a configuration problem somewhere on my end...

    Best,

    Bob
  • jazz710
    Member
    • Oct 2012
    • 41

    #2
    I'll answer my own question. When I dove into the source code a bit I found the following statement:

    if (!is.element("fastcluster", installed.packages()[, 1])) {
    stop("Rsamtools Bioconductor package is now required for BAM file support. Please install")

    I installed fastcluster (not included in the Rsamtools installation) and now it runs. Just a poorly worded warning.

    Comment

    • GenoMax
      Senior Member
      • Feb 2008
      • 7142

      #3
      Thanks for taking the time to document the answer! Should help someone searching for this error down the road.

      Comment

      • reprogrammer
        Member
        • Jan 2016
        • 12

        #4
        Originally posted by jazz710 View Post
        I'll answer my own question. When I dove into the source code a bit I found the following statement:

        if (!is.element("fastcluster", installed.packages()[, 1])) {
        stop("Rsamtools Bioconductor package is now required for BAM file support. Please install")

        I installed fastcluster (not included in the Rsamtools installation) and now it runs. Just a poorly worded warning.
        Thank you jazz710 for sharing. I am a rookie for R coding and data analysis. I have a really naive question: How to import my RNA-Seq alignment files into R?

        My workflow: I upload my raw RNA-Seq data to the Basespace website, and used the Tophat application. After alignment, it provides the alignment files (.bam). I download it to my local Mac but I don't know how to import them to R studio with Rsamtools or other functions.

        Could you kindly tell me, please? Thank you very much.

        Comment

        • jazz710
          Member
          • Oct 2012
          • 41

          #5
          For my data this is the header for my code:

          # Load the libraries into R
          library(spp)
          library(Rsamtools)

          # ONLY NEED THIS IF YOU WANT TO RUN ANALYSES ON MULTIPLE PROCESSORS (10 in this case)
          library(snow)
          cluster <- makeCluster(10)


          data <- read.bam.tags(XYZ.bam)

          -------------------------------------------------------------------------------------------------------------------
          That worked for me! Note, to read in BAM files there a handful of prerequisite programs you need as well.

          Here's a tutorial link I followed:
          Last edited by jazz710; 03-14-2016, 08:11 AM. Reason: Added tutorial link

          Comment

          Latest Articles

          Collapse

          • SEQadmin2
            Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
            by SEQadmin2



            Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
            ...
            07-09-2026, 11:10 AM
          • SEQadmin2
            Cancer Drug Resistance: The Lingering Barrier to Rising Survival
            by SEQadmin2



            Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

            There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
            07-08-2026, 05:17 AM
          • GATTACAT
            Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
            by GATTACAT
            Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
            07-01-2026, 11:43 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, 07-13-2026, 10:26 AM
          0 responses
          20 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-09-2026, 10:04 AM
          0 responses
          31 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-08-2026, 10:08 AM
          0 responses
          20 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-07-2026, 11:05 AM
          0 responses
          34 views
          0 reactions
          Last Post SEQadmin2  
          Working...