seqpad

Minor Version:

Overview

This project pads nucleotide sequences.

Installation
Features
seqpad.main

The project also provides a CLI that can also be accessed from within Python. For more information, read the help message that can be accessed through one of the two following ways.

# bash
python3 -m seqpad -h
# python
import seqpad
seqpad.main(['-h'])
seqpad.seqpad(seq: Any) -> Any

The core function of this project is implemented as follows:

def seqpad(seq: Any) -> Any:
    while len(seq) % 3 != 0:
        seq += "N"
    return seq
seqpad.test() -> unittest.TextTestResult
License
Impressum