Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Xinpeng021001 authored Jul 28, 2024
1 parent 6db9888 commit de34136
Show file tree
Hide file tree
Showing 2 changed files with 901 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dbcan/utils/diamond_unassembly.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ def __init__(self,lines):
self.SeqID = self.Tsn.split('|')[0]
self.CAZys = CAZy_filter(self.Tsn.strip("|").split("|")[1:]) ### seqid|cazy1|cazy2|...| ## not subfamily
self.UniReadId = lines[0].split(".")[0]

### need some filter conditions
### overlap ratio, evalue, identity

def __str__(self):
return "\t".join([str(getattr(self, value)) for value in vars(self) if value != "CAZys"])

Expand Down
Loading

0 comments on commit de34136

Please sign in to comment.