Attached files

file filename
EX-4.1 - EX-4.1 - CARDIODX INCa2217304zex-4_1.htm
EX-3.1 - EX-3.1 - CARDIODX INCa2217304zex-3_1.htm
EX-23.2 - EX-23.2 - CARDIODX INCa2217304zex-23_2.htm
S-1/A - S-1/A - CARDIODX INCa2217304zs-1a.htm

EXHIBIT 5.1

GRAPHIC

Mark B. Weeks
T: +1 650 843 5011
mweeks@cooley.com

November 13, 2013

CardioDx, Inc.
2500 Faber Place
Palo Alto, California 94303

Ladies and Gentlemen:

You have requested our opinion with respect to certain matters in connection with the filing by CardioDx, Inc., a Delaware corporation (the "Company"), of a Registration Statement (No. 333-191698) on Form S-1 (the "Registration Statement") with the Securities and Exchange Commission, including a related prospectus filed with the Registration Statement (the "Prospectus"), covering an underwritten public offering of up to 5,000,000 shares (the "Shares") of the Company's common stock, par value $0.001 ("Common Stock"), and up to 750,000 shares of Common Stock that may be sold by the Company pursuant to the exercise of an option to purchase additional shares granted to the underwriters (the "Option Shares").

In connection with this opinion, we have examined and relied upon (a) the Registration Statement and related Prospectus, (b) the Company's Amended and Restated Certificate of Incorporation and the Company's Bylaws, each as currently in effect, (c) the Company's Amended and Restated Certificate of Incorporation, filed as Exhibit 3.2 to the Registration Statement, and the Company's Amended and Restated Bylaws, filed as Exhibit 3.4 to the Registration Statement, each of which will be in effect upon the closing of the offering contemplated by the Registration Statement, and (d) the originals or copies certified to our satisfaction of such records, documents, certificates, memoranda and other instruments as in our judgment are necessary or appropriate to enable us to render the opinion expressed below. We have assumed the genuineness and authenticity of all documents submitted to us as originals and the conformity to originals of all documents where due execution and delivery are a prerequisite to the effectiveness thereof. As to certain factual matters, we have relied upon a certificate of officers of the Company and have not sought to independently verify such matters. Our opinion is expressed only with respect to the General Corporation Law of the State of Delaware, as amended.

On the basis of the foregoing, and in reliance thereon, we are of the opinion that the Shares and the Option Shares when sold and issued as described in the Registration Statement and the related Prospectus, will be validly issued, fully paid and non-assessable.

We consent to the reference to our firm under the caption "Legal Matters" in the Prospectus included in the Registration Statement and to the filing of this opinion as an exhibit to the Registration Statement.

Sincerely,

COOLEY LLP

By: /s/ Mark B. Weeks                   
       
Mark B. Weeks

FIVE PALO ALTO SQUARE, 3000 EL CAMINO REAL, PALO ALTO, CA 94306-2155 T: (650) 843-5000 F: (650) 849-7400 WWW.COOLEY.COM