Closed mosi223 closed 1 week ago
Hi @mosi223 , thanks for your question. This is possible by specifying the --read_lengths
and --psite_offsets
arguments. For example,
ribotricer detec_orfs --read_lengths 28.29,30,31 --psite_offset 10,11,12
Hi @saketkc ! Thanks for getting back so quickly! But does this not specify the offsets based on read lengths? What I would like to do is to specify offsets for each individual read, i.e., it's possible that reads of the same length will have a difference offset.
Unfortunately this is currently not possible with ribotricer. I am also not sure I have seen a convincing argument for read level adjustment.
Hi @saketkc ! Thank you for the response! There's is some evidence that read-level P-site offsets increase accuracy of ORF detection. But I also understand that this is a very new development.
Dear @saketkc,
I am working on assigning P-Site offsets using the tool PSite, which infers offsets for each individual read as opposed to grouping reads based on read lengths.
By default, PSite builds the offset information directly into BAM files via an additional tag, but those can be coerced into a text format if needed. Could you recommend a way to use these read-level offsets for determining translating ORFs in Ribotricer or would it require significant changes to the Ribotricer's codebase?
Thank you very much!