Comments (3)
The GM128*.vcf
has a header definition of ID=SVTYPE,Number=A
. This is causing Truvari to see its svtype as a tuple e.g. ("INS",)
instead of string "INS"
. By changing the header line to:
##INFO=<ID=SVTYPE,Number=1,Type=String,Description="Variant type">
I was able to see:
{
"TP-base": 18,
"TP-call": 18,
"FP": 1,
"FN": 25,
"precision": 0.9473684210526315,
"recall": 0.4186046511627907,
"f1": 0.5806451612903226,
"base cnt": 43,
"call cnt": 19,
"TP-call_TP-gt": 0,
"TP-call_FP-gt": 18,
"TP-base_TP-gt": 0,
"TP-base_FP-gt": 18,
"gt_concordance": 0.0,
"gt_matrix": {
"(1, 1)": {
"(None, None)": 6
},
"(1, 0)": {
"(None, None)": 3
},
"(0, 1)": {
"(None, None)": 9
}
}
}
Truvari uses pysam to parse VCF files and while there are safe guards for Number=.
(See line) I'll need to edit that line for Number=A
and others which tell pysam to return tuples instead of lists via:
if isinstance(ret_type, (list, tuple)):
from truvari.
Sorry, one more thing... The --giabreport
can only be used on the GIAB vcfs. See wiki
from truvari.
Thanks, I followed the step you mentioned and it worked.
from truvari.
Related Issues (20)
- Truvari refine fails when no regions to refine HOT 4
- TypeError, 'NoneType' and 'NoneType' HOT 2
- Duplication to Insertion doubt HOT 4
- Failure in pip installation HOT 2
- Question: Does truvari have a upper limit on the file size? How to speed up? HOT 2
- BED Region off-by-one error HOT 4
- Zero matches between base and comp HOT 4
- AttributeError: 'CollapsedCalls' object has no attribute 'consolidate' | version 4.2.1 HOT 4
- Calculate SNV HOT 7
- complex genotype problem HOT 3
- GT integrate HOT 1
- No TP or FP calls for CNV HOT 1
- merging different SV type? HOT 3
- No FP or TP calls HOT 2
- Unable to run MAFFT HOT 9
- md5sum FIPS issue HOT 1
- Support vector for intra-sample merge HOT 6
- some questions about the results in fp.vcf.gz
- some questions about the results in fp.vcf.gz HOT 1
- Getting same numbers of TP-base and TP-comp HOT 4
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 truvari.