Published November 10, 2019 | Version v1

Source code for publication "The Pseudomonas aeruginosa accessory genome elements influence virulence towards Caenorhabditis elegans"

  • 1. University of Massachusetts medical school
  • 2. Ben-Gurion University of the Negev
  • 3. Dalhousie University
  • 4. Massachusetts General Hospital

Description

Source code for publication "The Pseudomonas aeruginosa accessory genome elements influence virulence towards Caenorhabditis elegans" by Alejandro Vasquez-Rifo, Isana Veksler-Lublinsky, Zhenyu Cheng, Frederick M. Ausubel and Victor Ambros.

The code provides a statistical test for association of genetic elements with virulence.

To run the code we generated a presence/absence matrix for 11,731 homologues gene clusters across 52 strains. We also supplied worm median survival (corresponds to virulence) for the 52 strains.

The Mann-Whitney (MW) ranking test and linear-regression (LR) analysis were applied to every gene to test the association of the presence/absence pattern with virulence.

We then performed a permutation test to control for multiple hypothesis testing. 10,000 permutations of the virulence values and their assignment to strains were generated and the MW and LR association tests were repeated for each permutation. Then, for each gene the number of times that it received a better p-value using the shuffled virulence data compared to the original one was recorded, separately for MW and LR. The above count was divided by 10,000 to obtain the permutation corrected p-value for the MW and LR tests.

Files

InputMatrix.txt

Files (1.3 MB)

Name Size Download all
md5:216ace8b79c63199741d31109117d010
3.9 kB Download
md5:9df954a020eacbf4797f75ebe041b5dc
1.3 MB Preview Download
md5:8674bfd4a3d3b4b9e307e9bbf49c7487
986 Bytes Download