Sequencing technology has been developed for more than decades. In all methods applied, however, sequencing quality remains a problem. In most cases, raw DNA sequences obtained from automatic sequencing machines are not reliable, and the output sequence might contain errors, vector contamination might occur, Dye-terminator reaction might not occur, and segment migration might be abnormal in gel electrophoresis. In order to trim low quality regions and sequences, to remove contamination and to build reliable assembled contigs, we constructed the pipeline, which uses Phred, Lucy and Phrap tools together. Phred takes chromatogram data as input, then makes base calls and assigns quality values and finally generates sequence and quality files in FASTA format. In a subsequent step, Lucy trims vectors and low quality sequences, makes a clean range of each sequence. At the end Phrap will assemble these sequences using pairwise alignment information from the Smith-Waterman algorithm. The consensus sequences of the assemblies built by the pipeline are assumed to be reliable genes that can be used for gene annotation. Furthermore, we compared two pipelines, with and without the use of Lucy. The output clearly indicates that applying Lucy in the sequencing process generates more reliable consensus sequences.