Thank you for your replies.
Yes it should be sample_CO115, but I had used the code for something else.
I have used:
write.table(sample_CO115, file = "sample_CO115.bedGraph", type=bedGraph,
row.names=F, col.names=F, quote=F, seq="\t")
..but I get this error:
Error in write.table(sample_CO115, file = "sample_CO115.bedGraph", type = bedGraph, : unused arguments (type = bedGraph, seq = "\t")
Unconfigured Ad
Collapse
X
-
Hi Hparker,
you can modify your output from R:
BTW, why do you call mm2? Shouldn't it be "sample_CO115"?Code:write.table(mm2, file = "sample_CO115.bedGraph", [COLOR="Red"]row.names=F, col.names=F, quote=F, seq="\t"[/COLOR])
Cheers,
MichaelLast edited by Michael.Ante; 07-01-2015, 04:50 AM.
Leave a comment:
-
I tired removing the column headings which is why now they are labelled as V1, V2...
Leave a comment:
-
BedGraph file:
"V1" "V2" "V3" "V4"
"1" "chr11" " 104895" " 104895" "100.00000000"
"2" "chr11" " 123115" " 123115" " 0.00000000"
"3" "chr11" " 125931" " 125931" "100.00000000"
"4" "chr11" " 128336" " 128336" "100.00000000"
"5" "chr11" " 128338" " 128338" "100.00000000"
"6" "chr11" " 128379" " 128379" " 0.00000000"
"7" "chr11" " 128385" " 128385" "100.00000000"
"8" "chr11" " 128404" " 128404" "100.00000000"
"9" "chr11" " 128430" " 128430" "100.00000000"
Leave a comment:
-
BedGraph format files should look like: http://genome.ucsc.edu/goldenpath/help/bedgraph.html
Can you post 10 lines from your BedGraph file?
Code:$ head -10 sample_CO115.bedGraph
Leave a comment:
-
I am also using the bedGraphToBigWig tool: I am trying to create files I can upload to IGV to view the level of methylaiton. But when I carry out this command I get an error:
error: Expecting number field 2 line 1 of sample_CO115.bedGraph, got "start"
This is the code I used in R:
sample_CO115 <- read.table("sample_CO115.cov")
col <- c("chr", "start", "end", "meth_perc", "m", "u")
colnames(sample_CO115) <- col
sample_CO115$m <- NULL
sample_CO115$u <- NULL
write.table(mm2, file = "sample_CO115.bedGraph")
$ bedGraphToBigWig sample_CO115.bedGraph hg19.chrom.sizes CO115.bw
I removed the column headings but this did not work...
Please advise if you know how I can solve this!Last edited by Hparker; 07-01-2015, 01:03 AM.
Leave a comment:
-
Here is a simple guide to Mac Terminal (there are probably others): http://blog.teamtreehouse.com/introd...x-command-line
If you have not done this then that would be the first thing to do: http://seqanswers.com/forums/showthread.php?t=33389
Look at the second step to see how to run the program: http://www.biostars.org/p/42844/
Leave a comment:
-
BedGraphtoBigWig - UCSC
Hi
Would anybody be able to kindly provide step-by-step instructions for using the UCSC pre-compiled utilities such as the bedGraphtoBigWig tool? I am utilising Mac OS 10.9. I am not familiar much with terminal nor running such things and do not have any idea where to begin. Thank you very much!
- KayleighTags: None
Latest Articles
Collapse
-
by SEQadmin2
Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?
Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating...-
Channel: Articles
10-14-2026, 09:55 AM -
-
by SEQadmin2
Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.
We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing...-
Channel: Articles
-
ad_right_rmr
Collapse
News
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by SEQadmin2, 10-22-2026, 11:13 AM
|
0 responses
48 views
0 reactions
|
Last Post
by SEQadmin2
10-22-2026, 11:13 AM
|
||
|
Started by SEQadmin2, 10-22-2026, 10:48 AM
|
0 responses
36 views
0 reactions
|
Last Post
by SEQadmin2
10-22-2026, 10:48 AM
|
||
|
Started by SEQadmin2, 10-15-2026, 10:52 AM
|
0 responses
46 views
0 reactions
|
Last Post
by SEQadmin2
10-15-2026, 10:52 AM
|
||
|
Started by SEQadmin2, 10-14-2026, 05:39 AM
|
0 responses
46 views
0 reactions
|
Last Post
by SEQadmin2
10-14-2026, 05:39 AM
|
Leave a comment: