Added option to supply 100x2 matrix for custom bias #85
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Thanks for this nice tool. I was interested in changing the bias from which fragments are generated to better simulate how lower-quality RNA generates RNA-seq with a stronger 3' bias (https://bmcbioinformatics.biomedcentral.com/articles/10.1186/s12859-016-0922-z)... So the proposed change allows users to specify their own 100x2 dataframe (instead of reading in the
cdna_pos_bias.csvorrnaf_pos_bias.csv) which they can generate however they please... For example, here is a plot of thecdna_pos_bias.csvandrnaf_pos_bias.csvdata, as well as some other similar 100x2 dataframes I created from beta distribution (eg from thedbetabase R function).