Great,
I am new at using varscan and did not know about the copynumber command. On your website its just listed in the java doc, isn't it?
Thanks a lot,
Mario
Hi Folks,
After reading this question, I downloaded the VarScan program, but have some questions about how to use it.
I have 10 Samples, 2 from each patient, one tumor, one normal The data is from a Solid 4 sequencer, and is single end reads, 50BP in length.
So, it seems to be possible to get CNVs using the varscan copyCaller. But how to use it?
java -jar VarScan.v2.2.5.jar copyCaller -h prints:
USAGE: VarScan copyCaller [output.copynumber] OPTIONS
OPTIONS:
--regions-file A list of regions (e.g. exons) to use for segmentation
--output-file Output file to contain the calls
--min-coverage Minimum read depth at a position to make a call [10]
--min-region-size Minimum size (in bases) for a region to be counted [10]
I am really not sure about the syntax and the input.
varscan copycaller normal.bam tumor.bam output.bam? (or same with pileup?)With best,
Mario
Mario,
You should actually use the "VarScan copynumber" command, not "copyCaller", as the latter expects an old format. The input should be
The command usage is like this:
java -jar VarScan.jar copynumber [normal.pileup] [tumor.pileup] output-basename
The output of the above command will have the format:
chromosome chr_start chr_stop normal_depth tumor_depth log2_ratio
You can feed this into a copy number segmentation program; I recommend the DNAcopy library of the BioConductor project.
Please e-mail me or post to the VarScan sourceforge forum if you have further questions.
Sincerely,
Dan Koboldt
dkoboldt [at] genome [dot] wustl [dot] edu
Great,
I am new at using varscan and did not know about the copynumber command. On your website its just listed in the java doc, isn't it?
Thanks a lot,
Mario
Hey,
I am perfectly fine now. Everything worked. Now I am looking for a way to visualise this data. I think the R plots from the DNAcopy package don't look good with massive data.
Is there maybe a way to load this data to IGV or use another plot?
With best,
Mario
Hi Mdeng,
Can you please share how did you end up visualizing your results from massive data.
cheers
Log in to answer this question.
Not a direct answer to your question, but I wrote this little python script: http://pypi.python.org/pypi/ngCGH for performing this analysis starting from BAM files. There is a script to use R and the DNAcopy package to segment the results.