-
Notifications
You must be signed in to change notification settings - Fork 37
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
vcfoutput bug #85
Comments
Hi, Also, can you please run using one list file per sample. The current version of MToolBox might have problems in handling multiple samples indeed. This is going to be solved with the snakemake version of MToolBox, that we are planning to release soon. Best wishes, |
Thanks, Claudia, I think that's the case. When I run one list file per sample, it works, and I get vcf_dict_tmp and sample1.vcf. Then, I have to put the sample1.vcf in another folder so when I run the second list file iI can get sample2.vcf, otherwise I can only get vcf_dict_tmp and see the same error for VCFoutput.py as Traceback (most recent call last): I have several hundreds of samples for analysis, it would be great if you can fix that problem for multiple samples. Thanks J |
I am also getting this error with MToolBox-1.2.1 |
I have downloaded the latest release and have the same issue. The vcf file generates for a single sample and not for multiple. |
Hi, I also encountered the same error with When I run one list file per sample, it works,when put 2 samples in one list, it also works, but when I put 20 samples in one list file, it shows:
In fact, I have several thousands of samples. So I‘m looking forward to fixing this error. Alternatively, is it possible to generate a gvcf file for each sample? In this way, more variation information can be retained when merging population data. Thanks Wangj |
When I used the updated 1.1 version, the analysis running smoothly and I got test.vcf file. However, when I try the latest version 1.2, it showed errors. I got all result files except for test.vcf. when I use vcf_dict_tmp to run VCFoutput.py, it shows:
Reference sequence used for VCF: RCRS
Traceback (most recent call last):
File "/home/MToolBox-master/MToolBox/VCFoutput.py", line 38, in
VCFoutput(VCF_dict, reference=reference_sequence, name=sample_vcf_name)
File "/home/MToolBox-master/MToolBox/mtVariantCaller.py", line 935, in VCFoutput
i._sample_indexes[sample][0].append(genotype)
AttributeError: 'int' object has no attribute 'append'
However, this issue was only shown up when I run put several samples in the lst file. If just run one sample, no problem at all.
Please help.
Thanks
The text was updated successfully, but these errors were encountered: