nextgenusfs / funannotate

Eukaryotic Genome Annotation Pipeline
http://funannotate.readthedocs.io
BSD 2-Clause "Simplified" License
301 stars 82 forks source link

How to merge xml files? #893

Open maruiqi0710 opened 1 year ago

maruiqi0710 commented 1 year ago

I got lots of InterProScan annotation files with an XML suffix through iprscan5.py (Script from https://www.ebi.ac.uk/seqdb/confluence/display/JDSAT/InterProScan+5+Help+and+Documentation). How to merge them into one file and then pass it to funannotate annotate --iprscan? Is there a specific pipeline? 捕获

nextgenusfs commented 1 year ago

There isn't a script to do this directly, however, it is done in the interproscan wrapper, you can see the function here:

https://github.com/nextgenusfs/funannotate/blob/master/funannotate/aux_scripts/iprscan-local.py#L52-L64