Git Product home page Git Product logo

Comments (3)

nchernia avatar nchernia commented on September 26, 2024

Tutorial examples halts with errors.

Finnished indexing reference.. Begins pseudo-alignment.. nohup: redirecting stderr to stdout Congratulations! Pseudo-alignment has completed in 30 seconds! Scasa quantification has started.. Begin Scasa quantification for sample Sample_01_S1_L001.. Installing package into ‘/usr/local/lib/R/site-library’ (as ‘lib’ is unspecified) Warning in FUN(X[[i]], ...) : 'lib = "/usr/local/lib/R/site-library"' is not writable Error in FUN(X[[i]], ...) : unable to install packages Calls: lapply -> FUN Execution halted Installing package into ‘/usr/local/lib/R/site-library’ (as ‘lib’ is unspecified) Warning in FUN(X[[i]], ...) : 'lib = "/usr/local/lib/R/site-library"' is not writable Error in FUN(X[[i]], ...) : unable to install packages Calls: lapply -> FUN Execution halted Error in readChar(con, 5L, useBytes = TRUE) : cannot open the connection Calls: load -> readChar In addition: Warning message: In readChar(con, 5L, useBytes = TRUE) : cannot open compressed file 'Scasa_out/SCASA_My_Project_20220321143943/2QUANT//Sample_01_S1_L001_quant//scasa_isoform_expression.RData', probable reason 'No such file or directory' Execution halted Congratulations! Scasa single cell RNA-Seq transcript quantification has completed in 30 seconds! All done!

from scasa.

eudoraleer avatar eudoraleer commented on September 26, 2024

Hello,

I'm trying to run your tool and can't get it to work. I was running in "already aligned" mode since salmon alevin has already been run. However it can't get beyond the below. These directories do not exist before executing the command.

scasa --postalign_dir salmon/ --align NO --quant NO --in cDNA/ --fastq test_R1.gz,test_R2.gz --ref reference/gencode.v34.transcripts.fa --out /mnt/disks/big_data/calico/scasa

##############################################################
#	SCASA V1.0.0
#	SINGLE CELL TRANSCRIPT QUANTIFICATION TOOL
#	Version Date: 2021-04-07
#	FOR ANY ISSUES, CONTACT: [email protected]
#	https://github.com/eudoraleer/scasa/
##############################################################

Directory scasa already exists. Writing into existing directory..
mkdir: cannot create directory ‘scasa/SCASA_My_Project_20220321141047/’: File exists
All done!

Even on your tutorial example, there are similar errors, but it keeps going:

mkdir: cannot create directory ‘Scasa_out/SCASA_My_Project_20220321143943/’: File exists

Preparing for alignment..
Indexing reference..
Directory Scasa_out/SCASA_My_Project_20220321143943/0PRESETS//REF_INDEX/ already exists. Writing into existing directory..

Hi nchernia,

Thank you for submitting the question! Basically, Scasa is a quantification tool, if you set --align to NO and --quant to NO, which means no alignment will be done and no quantification will be done, i.e. you do not want scasa to do anything, so nothing would be done. Another thing is, for all the paths you need to provide, it has to be in full path, i.e. if you provide a path in the current directory for example, you need to specify from root, for example, a path to the fasta reference file: /mnt/example/new/reference_file_name.gz

I have fixed some bugs along the way, thank you for pointing out the error, could you mount scasa again and try again and let me know if if works?

Best,
Lu

from scasa.

eudoraleer avatar eudoraleer commented on September 26, 2024

Tutorial examples halts with errors.

Finnished indexing reference.. Begins pseudo-alignment.. nohup: redirecting stderr to stdout Congratulations! Pseudo-alignment has completed in 30 seconds! Scasa quantification has started.. Begin Scasa quantification for sample Sample_01_S1_L001.. Installing package into ‘/usr/local/lib/R/site-library’ (as ‘lib’ is unspecified) Warning in FUN(X[[i]], ...) : 'lib = "/usr/local/lib/R/site-library"' is not writable Error in FUN(X[[i]], ...) : unable to install packages Calls: lapply -> FUN Execution halted Installing package into ‘/usr/local/lib/R/site-library’ (as ‘lib’ is unspecified) Warning in FUN(X[[i]], ...) : 'lib = "/usr/local/lib/R/site-library"' is not writable Error in FUN(X[[i]], ...) : unable to install packages Calls: lapply -> FUN Execution halted Error in readChar(con, 5L, useBytes = TRUE) : cannot open the connection Calls: load -> readChar In addition: Warning message: In readChar(con, 5L, useBytes = TRUE) : cannot open compressed file 'Scasa_out/SCASA_My_Project_20220321143943/2QUANT//Sample_01_S1_L001_quant//scasa_isoform_expression.RData', probable reason 'No such file or directory' Execution halted Congratulations! Scasa single cell RNA-Seq transcript quantification has completed in 30 seconds! All done!

Some of the R packages are needed for using Scasa, but it seems that the packages have no permission to get install in the default directory, another way is that, you could try installing the package dependencies before using scasa:

library(GenomicFeatures)
library(Biostrings)
library(polyester)
library(foreach)
library(doParallel)
library(data.table)
library(plyr)

from scasa.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.