Closed lv-xy11 closed 7 years ago
It seems we dropped the ball on this, but I think this is old enough now to be no longer relevant. Safe to close?
Going to close this since we no longer have Command Line interface and Hail has changed considerably. If you still have problems @lv-xy11 , please chat with us on Gitter here https://gitter.im/hail-is/hail
Hi, I am a staff in DCH. Now, we are testing the hail software and meet some test errors .
If you run the command: hail read -i tmp.vds imputesex -m 0.01 exportsamples –o impute_tmp.tsv -c “ID=s.id” exportvcf –o impute_tmp.vcf how to obtain the inbreeding coefficient from the impute_tmp file?
hail read -i output.vds exportgenotypes -c 'SAMPLE=s,VARIANT=v,GQ=g.gq,DP=g.dp,ANNO1=va.MyAnnotations.anno1,ANNO2=va.MyAnnotations.anno2' -o file.tsv -o sample.tsv hail read -i output.vds exportvariants -c 'v,va.pass,va.qc.AF' -o file.tsv hail read -i output.vds exportsamples -c 's.id, sa.qc.rTiTv' -o file.tsv you will get the same fatal error: ‘Struct’ has no field ‘qc’. Is it because the qc isn`t defined in “sa” struct? The same problems appeared in sa.pheno, global.genes, va.Myannotations and va.qc . hail importvcf sample.vcf annotatevariants expr -c 'va.minorCase = gs.count(sa.pheno.Pheno1 == "Case" && g.isHet)’ )‘ exportvcf -o fet_tmp.vcf
hail importvcf sample.vcf annotateglobal expr -c ‘global.first10genens = global.genes[:10]‘ exportvcf -o global_tmp.vcf
hail importvcf sample.vcf annotateglobal expr -c 'global.nCase = samples.count(sa.pheno.isCase)’ exportvcf -o global_tmp.vcf
hail read -i output.vds exportgenotypes -c 'SAMPLE=s,VARIANT=v,GQ=g.gq,DP=g.dp,ANNO1=va.MyAnnotations.anno1,ANNO2=va.MyAnnotations.anno2' -o file.tsv -o sample.tsv