reneshbedre / bioinfokit

Bioinformatics data analysis and visualization toolkit
MIT License
340 stars 76 forks source link

Manhattan Plot Out of Order #61

Open hpoisner opened 1 year ago

hpoisner commented 1 year ago

Ive been using your software to make manhattan plots and something in your sorting step is inverting the chromosomes. So they are all plotting end - start rather than start - end but still 1-22

hpoisner commented 1 year ago

I ran a modified version copying over the relevant functions and its this line here
df = df.loc[pd.to_numeric(df[chr], errors='coerce').sort_values().index] I commented it out and converted my chromosomes to integers everything is working now

reneshbedre commented 1 year ago

Thank you for reporting.