Medicinal use of the opium poppy (Papaver somniferum L) has ancient history, but the isolation of morphine was not described until the early nineteenth century. Morphine is the most important alkaloid of opium poppy in the last 50 years. In the morphine pathway has been reported to generate morphine in this species, CODM has a crucial role as the gene coding the enzyme responsible for demethylation of codeine to morphine. In this study we extract of CODM gene sequence from Papaver fogax and Papaver oriental. The sequence of this gene via in silico technique converted to the protein sequence. After this step we use the bioinformatics tools for analysis of these sequences.