-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes issue 23: fatal errors when run on merged vcf files.
Changed dot values to 0 unless the value is for GT. Added ALT to sample info to know how many AO values there should be. Checked number of AO values against the number of ALT values in expandSampleInfo. Converted single dot values to multiple zeros for AO values in expandSampleInfo. Added test 12 specific to this fix. Files checked in: src/vcfSampleCompare.pl t/run_tests.t
- Loading branch information
Showing
5 changed files
with
1,340 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#CHROM POS ID REF ALT BEST_PAIR BEST_GT_SCORE BEST_OR_SCORE BEST_DP_SCORE PAIR_ID PAIR_GT_SCORE PAIR_OR_SCORE PAIR_DP_SCORE STATES_USED_GT STATES_USED_OR GROUP1_SAMPLES GROUP1_GTS GROUP1_ORS GROUP2_SAMPLES GROUP2_GTS GROUP2_ORS | ||
1 11291515 . G C,A 1.1 1 0.7 0.3 1.1 1 0.7 0.3 0/1+1/1;0/2 1 147_93B,149_93D 1/1,0/1 2/2,4/10 153_93H 0/2 0/8 | ||
1 1493804 . A C,G 1.1 1 0.8 0.25 1.1 1 0.8 0.25 0/0;0/2 2 147_93B,149_93D ./.,0/0 .,0/17 153_93H 0/2 4/5 | ||
1 6692944 . T A,C 1.1 1 0.75 0.2 1.1 1 0.75 0.2 0/0;0/2 2 147_93B,149_93D ./.,0/0 .,0/14 153_93H 0/2 3/4 |
Oops, something went wrong.