Unconfigured Ad

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

    #1

    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
            Beyond CRISPR/Cas9: Understand, Choose, and Use the Right Genome Editing Tool
            by SEQadmin2



            CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).

            Despite this, “CRISPR helped turn genome editing from a specialized technique into
            ...
            07-31-2026, 11:01 AM
          • SEQadmin2
            Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
            by SEQadmin2


            Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

            The systematic characterization of the human proteome has
            ...
            07-20-2026, 11:48 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, 08-13-2026, 12:22 PM
          0 responses
          25 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 08-11-2026, 10:35 AM
          0 responses
          20 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 08-06-2026, 07:41 AM
          0 responses
          33 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 08-03-2026, 10:13 AM
          0 responses
          51 views
          0 reactions
          Last Post SEQadmin2  
          Working...