Giter Club home page Giter Club logo

Comments (8)

pcahan1 avatar pcahan1 commented on July 19, 2024

Hi,

Thanks for your interest in using CellNet. Are you running this on AWS? Which branch are you using? Can you share the precise steps have taken up to the error?

from cellnet.

dliu201304 avatar dliu201304 commented on July 19, 2024

Hi, I am running on my own MacBook Pro.
The code is listed below as:
library(devtools),
install_github("pcahan1/CellNet", ref = "rpackage")
library(CellNet)
setwd("./Bioinformatics/CellNet")
cn_setup(local = TRUE)
iFileMouse <- "salmon.index.mouse.122116.tgz"
fetchIndexHandler(destination = "ref/", species = "mouse", iFile=iFileMouse)
download.file("https://s3.amazonaws.com/CellNet/rna_seq/mouse/examples/SRP059670/st_SRP059670_example.rda", "st_SRP059670_example.rda")
stQuery <- utils_loadObject("st_SRP059670_example.rda")
stQuery <- cn_s3_fetchFastq("CellNet","rna_seq/mouse/examples/SRP059670",stuQuery,fname="fname", compressed="gz"),
pathToSalmon <- "/Users/danliu/miniconda2/pkgs/salmon-0.7.2-0/bin"
expList <- cn_salmon(stQuery, refDir = "ref/", salmonIndex = iFileMouse, fname<-paste0("expList_SRP059670_example.rda"), salmonPath = pathToSalmon)

Strange enough, after downloading all the fastq files, R program itself would not decompress the fastq files, so I gzip all the fastq files in the console, and then run the cn_salmon() function, which return the error metioned above, implying wrong number of file numbers. And then I tried to remove one of the fastq.gz files under the working directory, and rerun the cn_salmon() function, which return the error saying differing number of rows: 21, 20
Wish I had clarified my problem for you.

from cellnet.

pcahan1 avatar pcahan1 commented on July 19, 2024

Thanks for providing that information. I'll look into this...

from cellnet.

dliu201304 avatar dliu201304 commented on July 19, 2024

Can CellNet deal with pseudo counts by the Salmon rather than fastq files?

from cellnet.

pcahan1 avatar pcahan1 commented on July 19, 2024

Hi,

Can you try running with out latest version (https://github.com/pcahan1/CellNet/tree/v0.2.2) instead of the one listed in the protocols:

install_github("pcahan1/CellNet", ref = "v0.2.2")

from cellnet.

khajdarovic avatar khajdarovic commented on July 19, 2024

I am running into the same problem. I am running CellNet on my university's cluster. I believe the issue is the fastq_trim function, specifically in the line that specifies nnames.

nnames <- paste(unlist(strsplit(fnames, ".fastq")), "_trimmed.fq", sep = "")

The files i am working with are gzipped. it appears that since the files I have end in .gz, the strsplit function splits each file name in the middle, after fastq, instead of splitting the fnames string into file names after fastq.gz. The result is that nnames ends up with an additional row, causing the error.

I unzipped my files and ran cn_salmon and did not get the error.

from cellnet.

gloriafight avatar gloriafight commented on July 19, 2024

I also got the error.Can you tell me how to solve this problem?Very thanks.The erro as below:
awk: cmd. line:1: (FILENAME=- FNR=2) warning: Invalid multibyte data detected. There may be a mismatch between your data and your locale.
Trimming reads
Error in data.frame(..., check.names = FALSE) :
arguments imply differing number of rows: 9, 10

from cellnet.

pcahan1 avatar pcahan1 commented on July 19, 2024

We have now created a web application that takes as input an expression matrix (counts, TPM, or FPKM), and sample meta-data, and performs CellNet analysis. Additionally, this tool includes analysis of many state-of-the-art differentiation protocols, so that you can benchmark your results against those commonly used methods:

https://cahanlab.org/resources/agnosticCellNet_web/

from cellnet.

Related Issues (20)

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.