INNER CODE UNIT · Python

add_to_alignment

TimoLassmann/kalign · python-kalign/__init__.py:800

def add_to_alignment(
    existing: str,
    new_sequences: str,
    output: str,
    format: str = "fasta",
    n_threads: Optional[int] = None,
) -> None:
    """Add new sequences to an existing alignment.

    Each new sequence is aligned against the consensus profile of the
    existing alignment. The existing sequences are NOT re-aligned — their
    gaps are preserved exactly.

    Parameters
    ----------
    existing : str
        Path to existing alignment file (FASTA/MSF/Clustal).
    new_sequences : str

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…