예제 #1
0
파일: variation.py 프로젝트: edajeda/bcbb
def recalibrate_quality(sort_bam_file, fastq1, fastq2, sam_ref, config):
    """Recalibrate alignments with GATK and provide pdf summary.
    """
    dbsnp_file = _get_dbsnp_file(config, sam_ref)
    recal_file = gatk_recalibrate(sort_bam_file, sam_ref, config, dbsnp_file)
    _analyze_recalibration(recal_file, fastq1, fastq2)
    return recal_file
예제 #2
0
def recalibrate_quality(sort_bam_file, fastq1, fastq2, sam_ref, dirs, config):
    """Recalibrate alignments with GATK and provide pdf summary.
    """
    dbsnp_file = configured_ref_file("dbsnp", config, sam_ref)
    recal_file = gatk_recalibrate(sort_bam_file, sam_ref, config, dbsnp_file)
    if config["algorithm"].get("recalibration_plots", False):
        _analyze_recalibration(recal_file, fastq1, fastq2, dirs, config)
    return recal_file
예제 #3
0
파일: variation.py 프로젝트: mcicdata/bcbb
def recalibrate_quality(sort_bam_file, fastq1, fastq2, sam_ref,
                        dirs, config):
    """Recalibrate alignments with GATK and provide pdf summary.
    """
    dbsnp_file = configured_ref_file("dbsnp", config, sam_ref)
    recal_file = gatk_recalibrate(sort_bam_file, sam_ref, config, dbsnp_file)
    if config["algorithm"].get("recalibration_plots", False):
        _analyze_recalibration(recal_file, fastq1, fastq2, dirs, config)
    return recal_file