fix: add cli to sample_from_input
7 unresolved threads
7 unresolved threads
Compare changes
src/gene_count.py
0 → 100644
+ 124
− 0
Looks like double work here. What you want to do is to add each read to each gene to which it maps proportionally, taking into account all places to which the read can be assigned. So you could first determine the likelihood of the read being assigned to a particular gene (e.g. overlap(read, gene)/len(read)) and then normalize these values so that they add up to 1 read.
Please see this comment and the comment linked in it (as well as the course materials) for how to group and sort imports: !22 (comment 25061)