Skip to content
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

index out of range error #46

Open
NElight opened this issue Aug 17, 2022 · 13 comments
Open

index out of range error #46

NElight opened this issue Aug 17, 2022 · 13 comments

Comments

@NElight
Copy link

NElight commented Aug 17, 2022

when i run seqlink, i get index out of range error. it occur when only one variant in some range.
image

@gaow
Copy link
Owner

gaow commented Aug 17, 2022

@NElight we are working on a new release with @changebio which should be out within 30 days. Do you have a small toy test data you can share (or email to me privately ) so we make sure our new release works without issue on your test data?

@NElight
Copy link
Author

NElight commented Aug 19, 2022

@gaow it is my test vcf file and fam file.
command is "seqlink --fam 3312362.fam --vcf last.vcf.gz --freq gnomAD_genome_AF --build hg19 -o LinkageAnalysis -K 0.0001 --moi AD -W 0 -M 1 -j 0 --run-linkage --debug"
test.zip

@NElight
Copy link
Author

NElight commented Aug 27, 2022

@gaow Any new information about the test data?thank u.

@gaow
Copy link
Owner

gaow commented Aug 29, 2022

@NElight we are still working on the release and @changebio will be able to test it on the toy data as we pack up the release, in a couple of weeks from now. Thanks for your patience.

@changebio
Copy link
Contributor

Hi @NElight @gaow Thank you for your patience. I just released our new version SEQLinkage v2. I have tested your data by the following command line seqlink --fam test/3312362.fam --vcf test/last.vcf.gz --freq gnomAD_genome_AF --blueprint data/genemap.hg19.txt -o LinkageAnalysis -K 0.0001 --moi AD -W 0 -M 1 --chp --run-linkage. You can follow the documentation (https://changebio.github.io/SEQLinkage/) to install and use SEQLinkage v2. Please let me know if you have any questions.

@gaow gaow mentioned this issue Aug 29, 2022
@gaow
Copy link
Owner

gaow commented Aug 29, 2022

Thanks @changebio great I just saw this. Looks like it works. @NElight we have not yet built a docker image for that release, but @changebio has bumped it to Python 3 and streamlined the dependencies, so it should be easy to install using standard pip/conda commands. Still please let us know if there is an issue.

@NElight
Copy link
Author

NElight commented Aug 30, 2022

@gaow @changebio thank u very much

@NElight
Copy link
Author

NElight commented Aug 30, 2022

@changebio thank u , i rerun my test data using the new version SEQLinkage v2,get some ValueError.
image

@changebio
Copy link
Contributor

@NElight The bug has been fixed. Please try following commands.

pip install -u SEQLinkage
rm -rf LinkageAnalysis
#CHP markers
seqlink --fam test/3312362.fam --vcf test/last.vcf.gz --freq gnomAD_genome_AF --blueprint data/genemap.hg19.txt -o LinkageAnalysis_chp -K 0.0001 --moi AD -W 0 -M 1 --run-linkage
#Single variants
seqlink --fam test/3312362.fam --vcf test/last.vcf.gz --freq gnomAD_genome_AF --blueprint data/genemap.hg19.txt -o LinkageAnalysis_var -K 0.0001 --moi AD -W 0 -M 1 --run-linkage --single-marker

Please let me know if you have any further questions.

@NElight
Copy link
Author

NElight commented Sep 1, 2022

@changebio thank u , i rerun my test data using the new version SEQLinkage v2,get another error.
image

@changebio
Copy link
Contributor

Could you send me more details. I cannot repeat your error. Did you get the error form CHP markers and/or single markers? Please show the command you used in the screenshot. @NElight

@NElight
Copy link
Author

NElight commented Sep 3, 2022

@changebio i am sorry for my incomplete information. i run the commands that you recommended, that two commands get the same error.
2022-09-03_082908

@changebio
Copy link
Contributor

@NElight Sorry about the error you got. I still can not replicate the error after you show me your command. But I know where may go wrong. I add a test line in there. you can update our package again, and run on your computer.

By the way. I attached all the data and results I got by running SEQLinkage v2 on your test data. Please let me know whether it works on your computer or not.
The screen shot is the command I used. I copied genemap.hg19.txt from ~/.SEQLinkage/genemap.hg19.txt.
Screen Shot 2022-09-13 at 11 32 50 AM

test.tar.gz

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

No branches or pull requests

3 participants