-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added additional output formats to vcf_filter and edited vcf_calc to …
…support a list of filtered positions
- Loading branch information
aewebb80
committed
Sep 15, 2017
1 parent
432fc0d
commit 1851d97
Showing
10 changed files
with
151 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
|
||
VCFtools - 0.1.15 | ||
(C) Adam Auton and Anthony Marcketta 2009 | ||
|
||
Parameters as interpreted: | ||
--gzvcf example/input/merged_chr1_10000.vcf.gz | ||
--max-alleles 2 | ||
--min-alleles 2 | ||
--removed-sites | ||
|
||
Using zlib version: 1.2.8 | ||
After filtering, kept 38 out of 38 Individuals | ||
Outputting Removed Sites... | ||
After filtering, kept 19 out of a possible 10000 Sites | ||
Run Time = 0.00 seconds |
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,19 @@ | ||
CHROM POS | ||
chr1 1036917 | ||
chr1 1048024 | ||
chr1 1051951 | ||
chr1 1056730 | ||
chr1 1079307 | ||
chr1 1084295 | ||
chr1 1096361 | ||
chr1 1101571 | ||
chr1 1122398 | ||
chr1 1134614 | ||
chr1 1135724 | ||
chr1 1148630 | ||
chr1 1194151 | ||
chr1 1466991 | ||
chr1 1472522 | ||
chr1 1504742 | ||
chr1 1508112 | ||
chr1 1508620 |
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,34 @@ | ||
CHROM BIN_START BIN_END N_VARIANTS WEIGHTED_FST MEAN_FST | ||
chr1 1030001 1040000 11 0.122493 0.0941129 | ||
chr1 1040001 1050000 14 0.748157 0.400248 | ||
chr1 1050001 1060000 14 0.671993 0.237697 | ||
chr1 1060001 1070000 5 0.245747 0.158881 | ||
chr1 1070001 1080000 12 0.211005 0.169369 | ||
chr1 1080001 1090000 6 0.21397 0.190779 | ||
chr1 1090001 1100000 5 -0.0539413 -0.0615674 | ||
chr1 1100001 1110000 6 0.00701423 0.0225826 | ||
chr1 1110001 1120000 22 0.108047 0.0214824 | ||
chr1 1120001 1130000 6 0.305248 0.14991 | ||
chr1 1130001 1140000 5 0.708117 0.382197 | ||
chr1 1140001 1150000 3 -0.0730342 -0.0704015 | ||
chr1 1150001 1160000 5 0.435111 0.26577 | ||
chr1 1160001 1170000 1 -0.055794 -0.055794 | ||
chr1 1170001 1180000 17 -0.010333 0.0226575 | ||
chr1 1180001 1190000 10 0.496138 0.043603 | ||
chr1 1190001 1200000 7 0.324824 0.200795 | ||
chr1 1200001 1210000 5 0.0104593 0.0381257 | ||
chr1 1210001 1220000 1 -0.0464602 -0.0464602 | ||
chr1 1220001 1230000 6 0.755604 0.11035 | ||
chr1 1230001 1240000 4 0.127154 0.122056 | ||
chr1 1240001 1250000 12 0.528519 0.234784 | ||
chr1 1270001 1280000 1 -0.060459 -0.060459 | ||
chr1 1280001 1290000 1 0.926057 0.926057 | ||
chr1 1290001 1300000 1 0.174957 0.174957 | ||
chr1 1320001 1330000 1 0.509247 0.509247 | ||
chr1 1340001 1350000 3 0.0743918 0.0423312 | ||
chr1 1350001 1360000 1 -0.0626921 -0.0626921 | ||
chr1 1460001 1470000 5 0.495124 0.117919 | ||
chr1 1470001 1480000 29 0.403198 0.244726 | ||
chr1 1480001 1490000 11 0.419534 0.12102 | ||
chr1 1490001 1500000 4 0.218818 0.0282106 | ||
chr1 1500001 1510000 23 0.426864 0.115176 |
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,23 @@ | ||
|
||
VCFtools - 0.1.15 | ||
(C) Adam Auton and Anthony Marcketta 2009 | ||
|
||
Parameters as interpreted: | ||
--gzvcf example/input/merged_chr1_10000.vcf.gz | ||
--exclude-positions out.removed.sites | ||
--fst-window-size 10000 | ||
--fst-window-step 20000 | ||
--weir-fst-pop example/input/Troglodytes.txt | ||
--weir-fst-pop example/input/Paniscus.txt | ||
--keep example/input/Troglodytes.txt | ||
--keep example/input/Paniscus.txt | ||
|
||
Using zlib version: 1.2.8 | ||
Keeping individuals in 'keep' list | ||
After filtering, kept 17 out of 38 Individuals | ||
Outputting Windowed Weir and Cockerham Fst estimates. | ||
Fst: Only using diploid sites. | ||
Weir and Cockerham mean Fst estimate: 0.14725 | ||
Weir and Cockerham weighted Fst estimate: 0.36382 | ||
After filtering, kept 9982 out of a possible 10000 Sites | ||
Run Time = 0.00 seconds |
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,14 @@ | ||
2017-09-15 14:28:30,690 - logArgs - INFO: Arguments for vcf_calc: | ||
2017-09-15 14:28:30,690 - logArgs - INFO: Arguments pop_file: ['example/input/Troglodytes.txt', 'example/input/Paniscus.txt'] | ||
2017-09-15 14:28:30,690 - logArgs - INFO: Arguments vcfname: example/input/merged_chr1_10000.vcf.gz | ||
2017-09-15 14:28:30,690 - logArgs - INFO: Arguments filter_exclude_positions: out.removed.sites | ||
2017-09-15 14:28:30,690 - logArgs - INFO: Arguments calc_statistic: windowed-weir-fst | ||
2017-09-15 14:28:30,691 - logArgs - INFO: Arguments filter_include_positions: None | ||
2017-09-15 14:28:30,691 - logArgs - INFO: Arguments statistic_window_step: 20000 | ||
2017-09-15 14:28:30,691 - logArgs - INFO: Arguments statistic_window_size: 10000 | ||
2017-09-15 14:28:30,691 - logArgs - INFO: Arguments out: out | ||
2017-09-15 14:28:30,691 - run - INFO: vcftools parameters assigned | ||
2017-09-15 14:28:30,691 - check_for_vcftools_output - INFO: Output file assigned | ||
2017-09-15 14:28:30,691 - check_for_vcftools_output - INFO: Log file assigned | ||
2017-09-15 14:28:30,691 - run - INFO: Input file assigned | ||
2017-09-15 14:28:30,909 - run - INFO: vcftools call complete |
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
Binary file not shown.
Binary file not shown.
Binary file not shown.