You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for creating tinycov, I really like the concept!!
I notice some cosmetic issues with the output but I'm sure you're aware.
But one perhaps useful thing: Would it be possible allow import of cov data from another source, such as d4 or bedgraph? Then something like mosdepth could be used to get the coverage data, which might be quicker than using pysam?
Good work!
The text was updated successfully, but these errors were encountered:
import sys
import fire
from pyd4 import D4File
def main(d4_file: str):
file = D4File(d4_file)
down_sampled_chr1 = file.resample("chr1", bin_size = 10000)
for v in down_sampled_chr1[0]:
print(v)
if __name__ == '__main__':
fire.Fire(main)
Hi @parlar thanks for the suggestion! I was not aware of d4 but that looks useful. It would make sense to allow d4/bedgraph inputs, but the code will need a little refactor to disentangle ingestion from plotting.
Thank you for creating tinycov, I really like the concept!!
I notice some cosmetic issues with the output but I'm sure you're aware.
But one perhaps useful thing: Would it be possible allow import of cov data from another source, such as d4 or bedgraph? Then something like mosdepth could be used to get the coverage data, which might be quicker than using pysam?
Good work!
The text was updated successfully, but these errors were encountered: