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

Ad not in list #7

Open
DiyaVaka opened this issue Feb 16, 2021 · 6 comments
Open

Ad not in list #7

DiyaVaka opened this issue Feb 16, 2021 · 6 comments

Comments

@DiyaVaka
Copy link

After running mity call i tried running mity normalise and it says AD not in list. I checked the vcf file produced by freebayes and it does not have AD. How to resolve this?

Thanks

DIya

@drmjc
Copy link
Member

drmjc commented May 7, 2021

Hi, I have not experienced this. Can you provide a reproducible example and the command line that you used? thanks.

@master-noddy
Copy link

I also got this error, not able to resolve it.
Please see the command and the output

time mity call --reference hg38 --prefix DEMO --normalise 21A0003630-21IN000470_60307-CREV3_recal.cram.bam 21A0001020-21IN000165_59412-CREV3_recal.cram.bam --out-folder-path output/ --debug mity version 0.3.0
Calling mitochondrial variants
Running FreeBayes in sensitive mode
Traceback (most recent call last):
File "/root/anaconda3/envs/mity/bin/mity", line 29, in
args.func(args)
File "/root/anaconda3/envs/mity/lib/python3.7/site-packages/mitylib/commands.py", line 54, in _cmd_call
args.out_folder_path, args.region)
File "/root/anaconda3/envs/mity/lib/python3.7/site-packages/mitylib/call.py", line 108, in do_call
vcfnorm(vcf=unnormalised_vcf_path, out_file=output_file_name, p=p, genome=genome)
File "/root/anaconda3/envs/mity/lib/python3.7/site-packages/mitylib/normalise.py", line 1313, in do_normalise
single_allele = split_multi_allelic(variants)
File "/root/anaconda3/envs/mity/lib/python3.7/site-packages/mitylib/normalise.py", line 233, in split_multi_allelic
AD_idx = FORMAT_name.index("AD")
ValueError: 'AD' is not in list

@drmjc
Copy link
Member

drmjc commented Jul 19, 2021

Hi, can you share your bam files, preferably just those ones with reads in chrM, so I can reproduce this error? Thanks

@DiyaVaka
Copy link
Author

DiyaVaka commented Jul 19, 2021 via email

@drmjc
Copy link
Member

drmjc commented Jul 20, 2021 via email

@Pharmacogenetecist
Copy link

I am getting a similar issue trying to run one of the test files:
(MITY) mity call --prefix ashkenazim --out-folder-path "/Mity/testOUT/" --region MT:1-500 --normalise "/Mity/test_in/HG002.hs37d5.2x250.small.MT.RG.bam"
Found dependency: /anaconda3/envs/MITY/bin/freebayes
Found dependency: /anaconda3/envs/MITY/bin/gsort
Found dependency: /anaconda3/envs/MITY/bin/tabix
Found dependency: /anaconda3/envs/MITY/bin/bgzip
Found dependency: /anaconda3/envs/MITY/bin/python
Found dependency: /anaconda3/envs/MITY/bin/mity
mity version 0.4.0
Calling mitochondrial variants
Running FreeBayes in sensitive mode
Traceback (most recent call last):
File "/anaconda3/envs/MITY/bin/mity", line 29, in
args.func(args)
File "/anaconda3/envs/MITY/lib/python3.7/site-packages/mitylib/commands.py", line 53, in _cmd_call
args.out_folder_path, args.region)
File "/anaconda3/envs/MITY/lib/python3.7/site-packages/mitylib/call.py", line 108, in do_call
vcfnorm(vcf=unnormalised_vcf_path, out_file=output_file_name, p=p, genome=genome)
File "/anaconda3/envs/MITY/lib/python3.7/site-packages/mitylib/normalise.py", line 1313, in do_normalise
single_allele = split_multi_allelic(variants)
File "/anaconda3/envs/MITY/lib/python3.7/site-packages/mitylib/normalise.py", line 233, in split_multi_allelic
AD_idx = FORMAT_name.index("AD")
ValueError: 'AD' is not in list

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

4 participants