The two zipped files contain all the input files supplied to the Quantum Espresso package for the two cases of pure hydrostatic strain and pure shear strain applied to a WS2 monolayer. Use is as follows: For each strain, the WS2 monolayer structure is relaxed so that atomic positions (specifically the sulphur atom heights) can respond. A final self-consistent calculation is then carried out for the relaxed structure. The phonon modes are then calculated at the Gamma and M points. After each phonon calculation, the acoustic sum rule is imposed as described in the Quantum Espresso documentation. From the phonon values obtained at each strain, the rates of shift of phonon frequency with hydrostatic and shear strains can be calculated and these can be combined with the experimentally deduced amounts of shear and hydrostatic deformation (taking into account the Poisson's ratio of the matrix applying the distortion, which causes the experimental strain state not to be a pure one) as detailed in the associated publication and the related earlier paper PHYSICAL REVIEW B 87, 081307(R) (2013). The input files are representative ones: a large number of calculations were carried out exploring different choices of pseudopotential and convergence criteria and not all results were presented in the paper. The input files given produced well-converged results and a good match to the zero-strain experimental phonon frequencies.