-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with insertions #49
Comments
I found the problem in my code. Since I only have one snp, I can not iterate over it. The filtering function should be :
However, I'm still have a lot of trouble getting the sequence. |
What kind of trouble? |
How do I retrieve the transcript sequence with the insertion? |
As you did with:
If the polymorphism passes the filter it should be present in the sequence. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to get a translation for an insertion. Using the default SNPFiltering, I do not see the insertion in the sequence. I think it's not added to the sequence (it's is present in the db) and/or is treated as a SequenceSNP. Everything works great for snp.
I tried creating my own filter to support the insertion as explained in #33, but I get this error :
File "/u/boucherg/.virtualenvs/pyGeno_git/pyGeno/pyGeno/SNP.py", line 64, in __getattribute__ return Raba.__getattribute__(self, k) File "build/bdist.linux-x86_64/egg/rabaDB/Raba.py", line 648, in __getattribute__ TypeError: attribute name must be string, not 'int'
I'm not sure what I'm doing wrong. Here is the code and the snspset entry.
chromosomeNumber uniqueId start end ref alleles quality caller
5 1 170837542 170837543 - TCTT 0 custom
[package_infos]
description = SNPs for testing purposes
maintainer = The Maintainer
maintainer_contact = maintainer [at] email.ca
version = 1
[set_infos]
species = human
name = snp_custom
type = agnosticsnp
source = Where do these snps come from?
[snps]
filename = snps.txt
The text was updated successfully, but these errors were encountered: