Comments (11)
Hi,
Its hard to say without a reproducible example. Can your share your file if you're okay with it ? or can you try to read using data.table::fread(maf_file)
and see if you get the same error ? Is the file same as yesterday, error says file might be empty. Can you check the contents ?
from maftools.
Error in data.table::fread(coad.maf) :
Input is either empty or fully whitespace after the skip or autostart. Run again with verbose=TRUE.
I looked at the file. It is fine. Same as yesterday TCGA..COAD mutect file
Thanks a lot!
zayni
from maftools.
Is it compressed ? If so, can you decompress and try again ? Can you upload it here ?
from maftools.
It is not compressed at all. It is larger than 10MB. But it has all 32 fields of TCGA file
Thanks for your time
Zayni
from maftools.
Here is the link
https://portal.gdc.cancer.gov/files/706d5716-be1e-4482-a867-61dec69557c8
from maftools.
Hi,
Just downloaded the file and checked on macOS (Sierra) and Ubuntu, works fine for me.
coad = read.maf(maf = '~/Downloads/gdc_download_20170410_034802/706d5716-be1e-4482-a867-61dec69557c8/TCGA.COAD.mutect.706d5716-be1e-4482-a867-61dec69557c8.somatic.maf.gz')
can you post your command ?
from maftools.
library("maftools")
suppressPackageStartupMessages(require(maftools))
coad.maf = system.file(maf ='~/Downloads/gdc_download_20170410_034802/706d5716-be1e-4482-a867-61dec69557c8/TCGA.COAD.mutect.706d5716-be1e-4482-a867-61dec69557c8.somatic.maf.gz', package = 'maftools')
coad = read.maf(maf = laml.maf, removeSilent = TRUE, useAll = FALSE)
Error in is.data.frame(x = maf) : object 'laml.maf' not found
coad = read.maf(maf = coad.maf, removeSilent = TRUE, useAll = FALSE)
reading maf..
Error in data.table::fread(input = maf, sep = "\t", stringsAsFactors = FALSE, :
Input is either empty or fully whitespace after the skip or autostart. Run again with verbose=TRUE.
from maftools.
Thanks a lot !
from maftools.
Okay! you don't have to run first line system.file
, since it points to example maf file which comes with the package. For your coad maf, you just need to provide downloaded file name (with path) to read.maf
.
Try this:
coad = read.maf(maf = '~/Downloads/gdc_download_20170410_034802/706d5716-be1e-4482-a867-61dec69557c8/TCGA.COAD.mutect.706d5716-be1e-4482-a867-61dec69557c8.somatic.maf.gz', removeSilent = TRUE, useAll = FALSE)
from maftools.
Awesome ! It worked. Thanks you so much
from maftools.
No problem :)
from maftools.
Related Issues (20)
- when adding cntable to maf tools object, if no mutations in gene the Start_Position End_Position are blank leading to errors HOT 5
- Extracting VAF information apart from plot. HOT 4
- Running trinucleotideMatrix generates Error in.Call2 HOT 11
- Getting error in lollipop plot HOT 3
- Signature plot HOT 11
- TMB plot (tcgaCompare): Burden changes depending on input order HOT 3
- Different aa.lengths in lollipopPlot() and lollipopPlot2() HOT 2
- lollipopPlot()Report an error:Error in .getdomains(geneID = gene, refSeqID = refSeqID, proteinID = proteinID) : Structure for protein PPDPFL not found. HOT 1
- The get_col_df function seems to have a bug in the 6th line HOT 3
- Error in if (dist <= mergeDist) { : missing value where TRUE/FALSE needed HOT 2
- sampleSwaps.R: add an error message in case of missing index files HOT 6
- Lollipopplot does not show complete protein length. HOT 4
- Questions about MATH score HOT 1
- Error in get_lp_data(maf = m1, geneID = gene, AACol = AACol1, refSeqID = refSeqID, : Structure for protein BAGE3 not found. HOT 1
- unknown tumor_sample_barcode
- extractSignatures
- filterMaf error
- gisticChromPlot for individual samples
- Why is MNP excluded when reading.maf?
- Discrepancy in MATH Scores
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 maftools.