jaidevjoshi83 / pdaug

Other
0 stars 3 forks source link

PDAUG_Sequence_Property_Based_Descriptors #8

Open B0r1sD opened 5 months ago

B0r1sD commented 5 months ago

Hi there

The tool PDAUG_Sequence_Property_Based_Descriptors (v0.1.0) doesn't seem to be working on our Galaxy instance. The Python attribute error seems to be pointing towards a problem in the source code itself.

Toolshed entry: https://toolshed.g2.bx.psu.edu/repository?repository_id=f362d6c54c6e7e0a

Error:

Traceback (most recent call last):
  File "/srv/galaxy/shared/database/shed_data/toolshed.g2.bx.psu.edu/repos/jay/pdaug_sequence_property_based_descriptors/9bcde9583f9c/pdaug_sequence_property_based_descriptors/PDAUG_Sequence_Property_Based_Descriptors/PDAUG_Sequence_Property_Based_Descriptors.py", line 170, in <module>
    Decriptor_generator(args.InFile, args.Lamda, args.Weight, args.MaxLag, args.DesType, args.Out_file)
  File "/srv/galaxy/shared/database/shed_data/toolshed.g2.bx.psu.edu/repos/jay/pdaug_sequence_property_based_descriptors/9bcde9583f9c/pdaug_sequence_property_based_descriptors/PDAUG_Sequence_Property_Based_Descriptors/PDAUG_Sequence_Property_Based_Descriptors.py", line 103, in Decriptor_generator
    DS1 = protein.GetAAComp()
  File "/srv/galaxy/shared/etc/dependencies/miniconda3/envs/mulled-v1-1542d31b6bf25d7a9ec7b0474b0e3632971ecd75f4ac7668a650d791af820a0f/lib/python2.7/site-packages/pydpi/pypro.py", line 108, in GetAAComp
    res=CalculateAAComposition(self.ProteinSequence)
AttributeError: PyPro instance has no attribute 'ProteinSequence'

Any feedback is appreciated!

jaidevjoshi83 commented 5 months ago

Hi, Thanks for reporting the issue. I will get back to you soon regarding this.