INNER CODE UNIT · Python

half

BigDataBiology/SemiBin · SemiBin/main.py:1417

            half = len(seq) // 2
            h1 = h + "_1"
            seq1 = seq[:half]
            h2 = h + "_2"
            seq2 = seq[half:]
            ofile.write(f">{h1}\n{seq1}\n")
            ofile.write(f">{h2}\n{seq2}\n")
    return oname


def install_skills(logger, *, to_user, skills_dir=None):
    '''Install the agent skill(s) bundled with SemiBin.

    Parameters
    ----------
    to_user : bool
        If True, install to $HOME/.claude/skills; otherwise install to
        ./.claude/skills in the current working directory.

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…