how to properly run TrioCNV for trios CNV detection
Entering edit mode
14 months ago
giusdalt95 ▴ 10

Hi, everybody I am trying to run TrioCNV on a trio, in order to detect inherited Copy Number Variants (CNVS), following the tutorial at this link. I ran the preprocessing command ad indicated in the tutorial, but the resulting output is a file with only a row (apparently an header) as follows:

CHROM START END GR2108p GR2108m GR2108 GC Mappability

and it gives me error when i run the subsequent calling command. I don't know which is the mistake, and the only explanation is that pedigree and mappability files are not properly formatted. I'm using the same map file that authors used (available here); the pedigree file is formatted ad follows:

FAM001  GR2108  GR2108p GR2108m 1       2
FAM001  GR2108p 0       0       1       1
FAM001  GR2108m 0       0       2       1

where the three rows represent the proband, the father and the mother respectively. Unluckily, on github such tool is poorly explained, and apparently very few people use it. Could anybody give me some advice? Thank you in advance, Giuseppe

github CNV TrioCNV • 526 views
Entering edit mode

It is very difficult to help not having an error message and this is maybe not a well known tool

I can't say that I promote trio mode in ClinCNV, but I actually do


flag specified + csv with trios should do the job

Entering edit mode

Thank you so much... i will post the error here, but actually my doubt was that mappability and pedigree files were improperly formatted. However, is a poorly known tool, and thank you again for the hint!

So, this is what I type:

java -jar TrioCNV.jar call \
--input TrioCNVDir/trio_ \
--pedigree russo.ped \
--mappability wgEncodeCrgMapabilityAlign100mer.bigWig \
--output test.txt

and here comes what I get:

INFO  2021-05-31 15:25:48 TrioCNV - Checking R environment and packages ......
INFO  2021-05-31 15:25:49 TrioCNV - Estimating parameters ......
INFO  2021-05-31 15:25:51 TrioCNV - HMM Segmentation ......
Exception in thread "main" java.lang.NullPointerException
Entering edit mode

yeap, null pointer exception. something refers to something which is not defined.

It is not easy to debug this. You can go to the TrioCNV file and check what happens on line 122 (some multli-threading problem?)

add some print-outs to the file to understand at which exactly line problem happen, it may allow you to understand where exactly it happens


Login before adding your answer.

Traffic: 1353 users visited in the last hour
Help About
Access RSS

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6