daler / pybedtools

Python wrapper -- and more -- for BEDTools (bioinformatics tools for "genome arithmetic")
http://daler.github.io/pybedtools
Other
297 stars 103 forks source link

pybedtools.bedtool.Bedtool.sort() #408

Open Accompany0313 opened 2 months ago

Accompany0313 commented 2 months ago

Hi,

First of all - thank you for your amazing work. pybedtools has been super useful for my research so far and I am very grateful.

I have a problem now, when I use pybedtools bedtool. Bedtool. From_dataframe (blacklist_bed_df).sort (), I don't when the incoming parameters g can run normally, but when I passed in parameter g, For example blacklist_bed = pybedtools. Bedtool. Bedtool. From_dataframe (blacklist_bed_df).sort (g = chrom_size_path), will appear unable to run. I haven't thought of a good solution to this problem. I hope to get your help. Thank you very much.

Here is my chrom_size file: hg38.txt