evoldoers / machineboss

Bioinformatics Open Source Sequence machine
BSD 3-Clause "New" or "Revised" License
33 stars 7 forks source link

Replace --weight-input and --weight-output with macros #102

Closed ihh closed 5 years ago

ihh commented 5 years ago

Argument of --weight-input or --weight-output to be evaluated as JSON, after replacing $ with token and # with alphabet size.

This replaces --param-odds-ratio arg (equivalent to --weight-output '{"/":[1,"arg$"]}') and --uniform-odds-ratio (equivalent to --weight-output '{"/":[1,#]}').