Comments (11)
You might be able to use TCGAbilinks to download the data and use with maftools, an example is in the bottom page.
https://www.bioconductor.org/packages/devel/bioc/vignettes/TCGAbiolinks/inst/doc/mutation.html
library(TCGAbiolinks)
library(maftools)
maf <- GDCquery_Maf("SKCM", pipelines = "muse") %>% read.maf(removeSilent = TRUE, useAll = FALSE)
from maftools.
@PoisonAlien I'm not sure you were going to create a GUI, but I just added your tool to TCGAbiolinksGUI
Your package is awesome, nice work!
from maftools.
Hi,
I just downloaded SKCM from GDC (I believe this is the one : https://gdc-portal.nci.nih.gov/files/49540f53-3228-4a65-8854-ebd2f4a8f5ce ) and it works fine on my Mac. However I guess you're on Windows and the input file is gzipped ? Can you uncompress gz file to plain text and try again ?
from maftools.
Hi,
That was indeed the problem.
Thanks
David
from maftools.
I'm not convinced that this issue should be closed without changing either the code or the documentation. The man page for 'read.maf' says that the 'maf' argument is a
"tab delimited MAF file. File can also be gz compressed."
But (at least on Windows as far as I can determine), whenever I pass in a gzipped MAF file, I get the same error about more columns than column names. If I first manually gunzip the file, it works just fine. I view the failure of the performance to match the documentation as a still-open bug.
from maftools.
Hi,
Yes you are right about it. I will try to fix it by weekend. I guess its because the first line of input file is a comment (generally indicating MAF version) and read.csv is struggling to handle it.
from maftools.
from maftools.
There is not much difference between table and csv reader, hence I used read.csv. Regarding second point yes, even I am not sure about whats going on. skip=1 will skip header if there are no comment lines, better way is to use comment.char = "#"
. Most of the maf files I checked are on either linux or MacOS, I will check again on windows machines and fix it soon.
from maftools.
Hi,
getting errors this morning. I am a Mac User
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.
It was working well yesterday. Not sure what is going on?
from maftools.
worth mentioning you need
library(magrittr)
for the "%>%"
from maftools.
wow this is amazing! Thank you for the effort and making maftools a part of TCGABiolinks :)
from maftools.
Related Issues (20)
- Feature request: Extend subsetMaf to drop samples by barcode HOT 2
- How to determine the value of captureSize? HOT 1
- plotClusters() "genes=" argument doesn't accept a vector of gene names HOT 2
- ICGC dataset error in plotmafSummary HOT 1
- somaticInteractions not plotting certain pairwise interactions HOT 7
- Oncoplot - Cell hight and width HOT 2
- Question about gisticChromPlot HOT 6
- Adding rows containing variants into maf file. HOT 3
- Plot both arm-level(broad) versus focal amplifications (and deletions) HOT 6
- pfamDomains throws uninformative error when failing to parse less common AAchanges HOT 3
- clinicalEnrichment seems to ignore samples with no mutations HOT 3
- resizing oncoplots HOT 3
- oncoplot Error.. out_of_bound HOT 5
- Too many multi_hit and missense mutation HOT 2
- Issue with importing GISTIC data into maftools HOT 3
- The issue of nonframeshift (block) substitution in annovarToMaf HOT 3
- Combine MAF, GISTIC, and clinical data using maftools HOT 2
- BUG: subsetMAF function returns wrong data
- BUG: subsetMAF functions returns wrong data HOT 7
- an splice_region variant does not appear in the oncoplot HOT 12
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.