DasLab / big_library_design

MIT License
0 stars 0 forks source link

Windows - all split genome into multiple sets #19

Closed rkretsch closed 1 year ago

rkretsch commented 1 year ago

For bio-safety reasons for viral genomes for example, we do not want whole genome in one experiment but split between multiple, add to the get_windows code this option

rkretsch commented 1 year ago

Updated so now there is 2 features, the previous random, and this implementation which is separate first X% from last. Technically this additions does not allow multiple sets, only 2, but as for now there is no use-case for more than 2 so will not worry about it, reopen if there is.

window.add_argument('--prop_windows_keep', type=float, default=1.0,
                    help='The proportion of windows to keep (from the start), others not added to library.')
window.add_argument('--prop_windows_keep_random', type=float, default=1.0,
                    help='The proportion of windoes to keep (randomly selected), others not added to library.')