-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem loading CNVkit Copy number calls #18
Comments
Hi @moldach , loadCopyNumberCallsCNVkit() is able to load all cnvkit data (.cnr and .cns). Regarding the long time trying to load the .cns file, I think that it is because of the long list of genes annotated by region. Try to run CNVkit again without annotation and then to reload the .cns file. Secondly, the .cnr file is correctly loaded. The baf column is given in the .cns file. The lrr column is named as segment.value. This is a mislabeling problem that we have to solve in this function. So, to sum up, you should run again CNVkit without annotation and reload de .cns file with the function. In addition, you must remember that the lrr column is named as segment.value. |
Thanks for the tip @bernatgel. Now that it's working I have another question about labelling. From the Vignette:
Looks like:
When I load my data:
I see the following:
What corresponds to Trying this on my data produces an error:
Not sure if there is a lack of copy number data (if so why?) or a mislabelling issue. |
Hi @moldach The .cns file you have loaded doesn't contain the cn data. Firstly, you have to take into account CNVkit gives the results in different files. Another important thing you have to know concerning CNVkit is that you obtain two different .cns files. The first .cns file is the one you get after running the segment function. In this file, you won't have the cn information. You will have the segment.value information. This means that when you load .cns files with loadCopyNumberCallsCNVkit() the column named as segment.value will be correct. The last thing you have to consider is that if you want to obtain the cn information in your .cns file you have to run the function call of CNVkit. That's why you don't have this information loaded now. So, you can load all type of CNVkit data with loadCopyNumberCallsCNVkit(). The issue here is that you have to know what is contained in each CNVkit file. |
Hi @miriammagallon. I ran the following in which produced the following files
Loading the
Okay so I can see that this file has
Where is
|
Hi @moldach, CNVkit has not generated the LOH column but you don't need this information to use CopyNumberPlots. You can already plot your data with CopyNumberPlots functions. |
I'm having a problem with
loadCopyNumberCallsCNVkit()
. Which output file fromCNVkit
is it supposed to accept?Trying the
.cns
file doesn't produce an error (or output) after ~25 minutes.Using the
.cnr
file loads withseqnames
,ranges
andstrand
; however, there is nolrr
orbaf
in the metadata and it looks weird:Any idea what's the problem?
The text was updated successfully, but these errors were encountered: