Did I find the right examples for you? yes no

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)
str(object='') -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

src/c/o/CombiVEP-0.1.2/combivep/preproc/dataset.py   CombiVEP(Download)
        vcf_reader.read(file_name)
        for rec in vcf_reader.fetch_hash_snps():
            snp_data = {combivep_settings.KEY_CHROM : rec[combivep_settings.KEY_SNP_INFO_SECTION][combivep_settings.KEY_VCF_CHROM],
                        combivep_settings.KEY_POS   : rec[combivep_settings.KEY_SNP_INFO_SECTION][combivep_settings.KEY_VCF_POS],
                        combivep_settings.KEY_REF   : rec[combivep_settings.KEY_SNP_INFO_SECTION][combivep_settings.KEY_VCF_REF],
                        combivep_settings.KEY_ALT   : rec[combivep_settings.KEY_SNP_INFO_SECTION][combivep_settings.KEY_VCF_ALT],
                        }
            prediction = {combivep_settings.KEY_TARGETS : None}
            self.dataset.append({combivep_settings.KEY_SNP_INFO_SECTION   : snp_data,

src/c/o/CombiVEP-0.1.2/combivep/preproc/reader.py   CombiVEP(Download)
                        combivep_settings.KEY_UCSC_OBSERVED  : rec[combivep_settings.UCSC_0_INDEX_OBSERVED],
                        }
            yield {combivep_settings.KEY_SNP_INFO_SECTION : snp_info}
 
 
                        combivep_settings.KEY_GERP_SCORE    : rec[combivep_settings.LJB_PARSED_0_INDEX_GERP_SCORE],
                        }
            yield {combivep_settings.KEY_SNP_INFO_SECTION : snp_info,
                   combivep_settings.KEY_SCORES_SECTION   : scores,
                   }
                        combivep_settings.KEY_VCF_ALT   : rec[combivep_settings.VCF_0_INDEX_ALT],
                        }
            yield {combivep_settings.KEY_SNP_INFO_SECTION : snp_info}
 
 
                        }
            prediction = {combivep_settings.KEY_CBV_TARGETS : rec[combivep_settings.CBV_0_INDEX_TARGETS]}
            yield {combivep_settings.KEY_SNP_INFO_SECTION   : snp_info,
                   combivep_settings.KEY_PREDICTION_SECTION : prediction,
                   }

src/c/o/CombiVEP-0.1.2/combivep/app.py   CombiVEP(Download)
    print >> sys.stdout, "#%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s" % ("CHROM", "POS", "REF", "ALT", "ACTUAL_DELETERIOUS_EFFECT", "PREDICTED_DELETERIOUS_PROBABILITY", "PHYLOP_SCORE", "SIFT_SCORE", "PP2_SCORE", "LRT_SCORT", "MT_SCORE", "GERP_SCORE")
    for i in xrange(len(dm.dataset)):
        print >> sys.stdout, "%s\t%s\t%s\t%s\t%s\t%6.4f\t%s\t%s\t%s\t%s\t%s\t%s" % (dm.dataset[i][combivep_settings.KEY_SNP_INFO_SECTION][combivep_settings.KEY_CHROM],
                                                        dm.dataset[i][combivep_settings.KEY_SNP_INFO_SECTION][combivep_settings.KEY_POS],
                                                        dm.dataset[i][combivep_settings.KEY_SNP_INFO_SECTION][combivep_settings.KEY_REF],
                                                        dm.dataset[i][combivep_settings.KEY_SNP_INFO_SECTION][combivep_settings.KEY_ALT],