Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fgvieira committed Aug 8, 2023
1 parent b4aad96 commit 7001165
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 16 deletions.
22 changes: 10 additions & 12 deletions examples/test.md5
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
4117acdbcfcb4d94522e28ae3c9e8653 testLD_2.beagle
c91a7bccd60bceff48df2c43fd9987fe testLD_2-CGf.ld
6cb3a96e3640d00b2219358b0f930bf5 testLD_2-CG.ld
3f224593d0eb56e8072ebe3bcb2bd879 testLD_2.ld
270a8097ea2b1c92736a6124cc2278aa testLD_2.no_miss.ld
767175a24be681ed10a6ce27c94af0fa testLD_3-CGf.ld
6cb3a96e3640d00b2219358b0f930bf5 testLD_3-CG.ld
5754513f1316601c0b8bbc9f391ab149 testLD_3.glf
6bc8145ca32455d3d93dd2761e08a308 testLD_3.ld
3cac894228279660e493d3068949f4b2 testLD_2-CGf.ld
0a47aece5c1be388f74dd38cd7b02610 testLD_2-CG.ld
12e3af34c07f17a74f7566d7275d939c testLD_2.ld
143b70193efb0482a02694016e49eeb0 testLD_2.no_miss.ld
eceb683b54b0a0c9b30195466ef0f67a testLD_3-CGf.ld
0a47aece5c1be388f74dd38cd7b02610 testLD_3-CG.ld
108fd4fb24f9a6257526e77a82d30031 testLD_3.glf
591b20e9292d2f0cd5b459e63da5db28 testLD_3.ld
8ed259c70aec0b8cfb8251aa9cc111da testLD.pos
3224dff5359674cf0e49d5d2f81c07b2 testLD_pruned.id
b1a6dfa9b0f1cab19b894a05b6626471 testLD_T.ld
e1c6d0229bf150ec3a3cf6aa2a5992cf testLD_Tr.ld
89c0f5a23906c41dcd71210dbb46eb18 testLD_unlinked.id
67fe2e3468aae7cca281ff5d3c8ec803 testLD_T.ld
fbd85b87583510a4b4e8689c1c1b8dc1 testLD_Tr.ld
3 changes: 0 additions & 3 deletions examples/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ $ANGSD/angsd -glf $SIM_DATA/testA.glf.gz -fai $SIM_DATA/testAF.ANC.fas.fai -nInd
../ngsLD --n_threads 10 --verbose 1 --n_ind $N_IND --n_sites $N_SITES --geno testLD_2.beagle.gz --probs --pos testLD.pos --max_kb_dist 10 --min_maf 0.05 --extend_out --ignore_miss_data | sort -k 1,1V -k 2,2V > testLD_2.no_miss.ld
gunzip testLD_2.beagle.gz

# LD prunning
../scripts/prune_graph.pl --in_file testLD_2.ld --max_kb_dist 5 --field_weight 7 --min_weight 0.5 --print_excl testLD_pruned.id | sort -k 1,1V > testLD_unlinked.id



##### Check MD5
Expand Down
2 changes: 1 addition & 1 deletion shared/gen_func.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ double logsum(double a, double b, double c, double d){
double round_dec(double val, int dec){
dec = pow(10, dec);
return round(val * dec) / dec;
}
}


// Remove trailing newlines from strings
Expand Down

0 comments on commit 7001165

Please sign in to comment.