hassansaei / VNtyper

A tool to genotype MUC1 coding VNTR in ADTKD
Other
3 stars 4 forks source link

Feature request: Add Support for More File Formats (e.g., CRAM Instead of Just BAM) #16

Open berntpopp opened 5 days ago

berntpopp commented 5 days ago

Description: Extend the pipeline to support additional file formats, such as CRAM, to increase flexibility and compatibility with various input data sources.

Tasks:

Example Code Block:

def process_alignment(input_file, output_dir, file_format="bam"):
    if file_format == "bam":
        return process_bam(input_file, output_dir)
    elif file_format == "cram":
        return process_cram(input_file, output_dir)
    else:
        raise ValueError(f"Unsupported file format: {file_format}")