Updating tests

parent ef2777ed
1/ Go to the bin/ directory of the DBGWAS you want to test
2/ Execute bash <the_dir_of_this_script>/test_DBGWAS_on_pseudomonas_aeruginosa.sh
\ No newline at end of file
#1. Download the dbgwas version you want to test (let's use v0.5.2 as an example):
wget https://www.dropbox.com/s/1fbf00cy8vhfxpg/DBGWAS-0.5.2-Linux-precompiled.tar.gz?dl=1 -O DBGWAS-0.5.2-Linux-precompiled.tar.gz
#2. extract and go to bin
tar -zxvf DBGWAS-0.5.2-Linux-precompiled.tar.gz
cd bin/
#3. download the test case:
wget https://gitlab.com/leoisl/dbgwas/raw/portable_binary/tests/test_DBGWAS_on_pseudomonas_aeruginosa.sh
#4. run the test case:
bash test_DBGWAS_on_pseudomonas_aeruginosa.sh
In the end, you should have something like:
Differences found (check them to see if they are really a problem):
And a list of files that differ, if they exist. Then you check the diff to see if they are really a problem.
\ No newline at end of file
......@@ -8,7 +8,7 @@ wget https://www.dropbox.com/s/9y1p0yw918ips6k/uniprot_sprot_bacteria_for_DBGWAS
./DBGWAS -strains pseudomonas_aeruginosa_full_dataset/strains -newick pseudomonas_aeruginosa_full_dataset/strains.newick -nc-db Resistance_DB_for_DBGWAS.fasta -pt-db uniprot_sprot_bacteria_for_DBGWAS.fasta
#get the correct output
wget https://www.dropbox.com/s/jp24184zony1977/correct_output.zip?dl=1 -O correct_output.zip
wget https://www.dropbox.com/s/pr5vn76xksdbtzj/correct_output_v0.5.2.zip?dl=1 -O correct_output.zip
unzip correct_output.zip
#compare both outputs
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment