-
Notifications
You must be signed in to change notification settings - Fork 1
command line reference
Dave Lawrence edited this page Nov 21, 2022
·
1 revision
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())