Comments (8)
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.
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.
Thanks for providing that information. I'll look into this...
from cellnet.
Can CellNet deal with pseudo counts by the Salmon rather than fastq files?
from cellnet.
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.
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.
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.
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)
- cn_salmon Error: cannot open compressed file 'geneToTrans_Homo_sapiens.GRCh38.80.exo_Jul_04_2015.R' HOT 5
- Problem running cn_make_processor HOT 4
- Error in "cn_make_grn" HOT 1
- Example on running locally HOT 1
- cn_salmon HOT 1
- Question: NIS scores for single cell data
- Origin of TF list for Homo sapiens HOT 1
- cn_apply() Error in predict.randomForest HOT 4
- Error at step 8 of the PROCEDURE HOT 1
- Error while running cn_barplot_grnSing
- Beg you to help us reconstruct GRNs HOT 1
- interpreting NIS plot HOT 2
- Can't download the reference example HOT 5
- cn_apply: does not match
- STEP 6: Error in geneIndexList[[i]] : subscript out of bounds
- Unused argument in cn_salmon HOT 2
- Human training data HOT 2
- cn_salmon error HOT 1
- Using CellNet downstream of salmon HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cellnet.