You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for developing such great software, I would like to use the class you wrote for tadlib.hitad.aligner.DomainSet class to find the difference TAD. However, I don't understand what the phrase "enstr: Unique identifier for input domain set" means, how should I prepare the enstr file for my data, and is the domainlistlist [['chr1', 150000, 360000, 0], ['chr1', 360000, 440000, 0], ['chr1', 440000, 860000, 0], ['chr1', 860000, 1200000, 0], ['chr1', 1200000, 1340000, 2], ['chr1', 1200000, 1590000, 1]]I prepared correct?
class tadlib.hitad.aligner.DomainSet(en, domainlist, res, hier=True)[[source]](https://xiaotaowang.github.io/TADLib/_modules/tadlib/hitad/aligner.html#DomainSet)
Parse and hold a hierarchical domain set.
Parameters
enstr
Unique identifier for input domain set.
domainlistlist
List of domains. See [tadlib.hitad.aligner.BoundSet](https://xiaotaowang.github.io/TADLib/hitad_api.html#tadlib.hitad.aligner.BoundSet) for details.
After that, pass the above lists to DomainSet , which will represent hierarchical domains in trees:
>>> sample1 = DomainSet('sample1', list1, 10000) # supposing your domains were called at the 10kb resolution
>>> sample2 = DomainSet('sample2', list2, 10000)
Finally, perform the alignment using DomainAligner :
Thank you for developing such great software, I would like to use the class you wrote for
tadlib.hitad.aligner.DomainSet
class to find the difference TAD. However, I don't understand what the phrase "enstr: Unique identifier for input domain set" means, how should I prepare the enstr file for my data, and is the domainlistlist[['chr1', 150000, 360000, 0], ['chr1', 360000, 440000, 0], ['chr1', 440000, 860000, 0], ['chr1', 860000, 1200000, 0], ['chr1', 1200000, 1340000, 2], ['chr1', 1200000, 1590000, 1]]
I prepared correct?This is the python script I ran:
Thanks again for your help!
The text was updated successfully, but these errors were encountered: