WMDA matching validation code
This system works from a config file.
The default location is conf/config.json
The data sources are not included in this repo.
The MV4 dataset needs to be downloaded.
A good location is data/MV4
.
The files donors.csv
and patients.csv
should be in that directory.
The results datasets should be downloaded.
A good location is data/results/REGISTRY/DATE/results.csv
.
For the comparison, a single letter code is used to identify this registry in the config file and will refer to it in the output.
keep_zero_prob
If this is set to 0
then any cases where P(8/10) + P(9/10) + P(10/10) <=0 will be excluded from analysis. Note the <= is needed because at least one participant saw fit to use negative probability values.
- download MV4 dataset and place it in
data/MV4/
. The expected files arepatients.csv
anddonors.csv
. - set the
mv4_datadir
variable inconfig.json
approrpriately - download results and place them in
data/results/REGISTRY/DATE/
- set update
config.json
results list with an apporpriate letter and filepath - repeat the previous two steps for all participating groups
- run scripts/joinall.pl
- output will be in
output/all.txt
- run scripts/stats.pl
- output will be in `output/stats.txt'
-
preformat
scripts/preformat_d.pl >data/donors.f.csv
-
preformat
scripts/preformat_p.pl >data/patients.f.csv
-
pyard-reduce-csv -c conf/donor.reduce_conf.json -i 3.52.0
-
pyard-reduce-csv -c conf/patient.reduce_conf.json -i 3.52.0
-
scripts/mkfilter.pl >data/patients.filter.csv