WansonChoi / HATK

A collection of modules to process and analyze IMGT-HLA sequences.
26 stars 9 forks source link

HLA2PED conversion call from HATK.py not working: workaround #25

Open steletvinicius opened 10 months ago

steletvinicius commented 10 months ago

First of all: Thank you for the author for made HATK available.

Documenting a workaround so it may help other users.

The command referenced on the link below is not working: https://github.com/WansonChoi/HATK/blob/master/docs/_0_HLA2HPED.md#2-usage-examples

Alternatively, I have called the conversion script directly like this:

python "./HLA2HPED/HLA2HPED.py" \
    --platform xHLA \
    --out "<output_folder>/<output_filename>" \
    -rhped "<folder_containing_json_files>/*.json";

And it worked. :)

JingjingBai2021 commented 3 months ago

Hi Steletvinicius, I am trying to convert HIBAG output to hped files. I got no output either so I used your script but it does not work for my case. I am wondering if you have an inaccessible file from xHLA as input?

Best, Jingjing

JingjingBai2021 commented 3 months ago

Problem solved. Thanks for your tip!