Skip to content

command line reference

Dave Lawrence edited this page Nov 21, 2022 · 1 revision

Command line arguments

Substitute ArgumentParser with pyreference.ReferenceArgumentParser to add a --build option to your command line arguments.

args.reference is now initialised to the correct build/annotation.

from pyreference import ReferenceArgumentParser

parser = ReferenceArgumentParser()
parser.add("mirna_name")

args = parser.parse_args()
reference = args.reference.get_mirna(args.mirna_name)
print(mir.get_8mer_target())
Clone this wiki locally