Skip to content

GSoC17 - python-secmet #2

Open
Manikumar1998 wants to merge 71 commits intokblin:masterfrom
Manikumar1998:develop
Open

GSoC17 - python-secmet #2
Manikumar1998 wants to merge 71 commits intokblin:masterfrom
Manikumar1998:develop

Conversation

@Manikumar1998
Copy link
Copy Markdown

API for antiSMASH

  • Update Record class
    Add more handling to Record class
  • Parse sequence file of multiple formats
    Enable handling to sequences in various formats. At present fasta, genbank, embl.
  • Add setters to properties in Record
    Add setters to name, id, description, annotations, seq etc.
  • Add Feature class
    Parent class of all features present in a record.
  • Add new feature classes (chlid classes of Feature)
    ClusterFeature, CDSFeature, GenericFeature, CDS_motifFeature, aSDomain and PFAM_domain are added.
  • Add SubCDSFeature (child class of Feature)
    SubCDSFeature (parent class of CDS_motifFeature, aSDomain, PFAM_domain) eliminates code duplication due to common qualifiers among child classes.
  • Implement hierarchies among features
    Create hierarchies between cluster features and CDS features while parsing the sequence or when adding a new feature into the record. Achieved using _update_cluster_cds_links() method.
  • Enable strict type checking for qualifiers
    Strict type checking has been enabled to qualifiers. Numbers such as score, evalue, extension, cutoff are checked for valid form before using.
  • Raise errors
    Appropriate errors are raised when something fails.
  • Add SecMetQualifier
    A new class SecMetQualifier is added to enable more handling on sec_met qualifier.
  • Update tests
    Existing test files are updated to test updated Record class.
  • Add new tests
    New test files are added to test newly added features.
    Code coverage: 98% (obtained using coverage library)
    • test_cds.py
    • test_cluster.py
    • test_cds_motif.py
    • test_generic.py
    • test_domains.py
  • Add more test sequences
    More test sequences added to test/data folder.
    • HM219853.1.final.gbk
    • HM219853.1.final.minimal.gbk
    • Y16952.3.final.gbk
    • Y16952.3.final.minimal.gbk
    • balh.embl

To test the members of aSDomain() and PFAM_domain()
Update GenericFeature() in record.py

To test the class members of GenericFeature()
-Raise errors if a qualifier is not a member
-Refine the code structure
return 0 if cluster number is not found
Bugs fix
Remove __nonzero__()
Remove get_secmet_features()
Add members to Features
…main

Refine code, remove unnecessary checks for NoneType
Explicit check for None for score, evalue, cutoff and extension
Update docstrigns and inline comments
Bug fixes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants