-
Notifications
You must be signed in to change notification settings - Fork 1
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
ValueError: invalid literal for int() with base 10: '6,6' #1
Comments
Dear evayfang2019,
Thanks for your message, I will check it and get back to you. If possible,
may i have the VCF file for checking purposes.
Best regards
…On Fri, Aug 18, 2023 at 7:56 AM evayfang2019 ***@***.***> wrote:
Hi, farhangus
when i ran:
python3 sniffles2_plots.py -i ./tmp_samples/sample_merged.vcf -o ./test
then reported:
./tmp_samples/sample_merged
Traceback (most recent call last):
File "xxx/sniffle2_plot/vcf_visulaizer.py", line 31, in
main()
File "xxx/sniffle2_plot/vcf_visulaizer.py", line 26, in main
multi_visulaizer(input_vcf_file, output_path)
File "xxx/sniffle2_plot/src/multi_vcf_visualizer.py", line 19, in
multi_visulaizer
SV_site.sv_sites_per_genome()
File "xxx/sniffle2_plot/src/sv_sites_per_genome.py", line 36, in
sv_sites_per_genome
obj = VCFLineSVPopulation(line)
File "xxx/sniffle2_plot/src/vcf_line_parser.py", line 213, in *init*
self.get_genotype(FORMAT, sample_header_names)
File "xxx/sniffle2_plot/src/vcf_line_parser.py", line 267, in get_genotype
sample_gt.set_dr(gt_value)
File "xxx/sniffle2_plot/src/vcf_line_parser.py", line 148, in set_dr
self.dr = int(this_dr)
ValueError: invalid literal for int() with base 10: '6,6'
Sniffle2_plot might not be suitable for handling my VCF file at the
moment, although it was also generated via sniffles.
—
Reply to this email directly, view it on GitHub
<#1>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A73J5UN3YCHM74GCYXGC5F3XV5RBPANCNFSM6AAAAAA3VPZYRI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Hi, farhangus |
Dear Evay,
Thanks for sending the file,I ran the program on file and the output is
attached. Will you please pull the package and rerun it. Please let me know
if there is any issue.
Command " python3 sniffles2_plots.py -i tmp1/evayfang2019.vcf -o tmp3"
Best regards,
Farhang
…On Fri, Aug 18, 2023 at 11:07 PM evayfang2019 ***@***.***> wrote:
Hi, farhangus
Thanks for your reply. Please check the vcf file.
Best regards
evayfang2019.zip
<https://github.com/farhangus/sniffle2_plot/files/12384995/evayfang2019.zip>
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A73J5ULKEXNYFUBLCPIECNTXWA3XBANCNFSM6AAAAAA3VPZYRI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Dear Farhang, |
Dear Evay,
You are most welcome, and thanks for your feedback.
Best regards,
Farhang
…On Mon, Aug 21, 2023 at 5:25 AM evayfang2019 ***@***.***> wrote:
Dear Farhang,
I've rerun the program and it's running smoothly.
Thank you and your outstanding works.
Best regards,
Evay
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A73J5UNO3WONKAEAMHMLLTLXWMZTPANCNFSM6AAAAAA3VPZYRI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, farhangus
when i ran:
python3 sniffles2_plots.py -i ./tmp_samples/sample_merged.vcf -o ./test
then reported:
./tmp_samples/sample_merged
Traceback (most recent call last):
File "xxx/sniffle2_plot/vcf_visulaizer.py", line 31, in
main()
File "xxx/sniffle2_plot/vcf_visulaizer.py", line 26, in main
multi_visulaizer(input_vcf_file, output_path)
File "xxx/sniffle2_plot/src/multi_vcf_visualizer.py", line 19, in multi_visulaizer
SV_site.sv_sites_per_genome()
File "xxx/sniffle2_plot/src/sv_sites_per_genome.py", line 36, in sv_sites_per_genome
obj = VCFLineSVPopulation(line)
File "xxx/sniffle2_plot/src/vcf_line_parser.py", line 213, in init
self.get_genotype(FORMAT, sample_header_names)
File "xxx/sniffle2_plot/src/vcf_line_parser.py", line 267, in get_genotype
sample_gt.set_dr(gt_value)
File "xxx/sniffle2_plot/src/vcf_line_parser.py", line 148, in set_dr
self.dr = int(this_dr)
ValueError: invalid literal for int() with base 10: '6,6'
Sniffle2_plot might not be suitable for handling my VCF file at the moment, although it was also generated via sniffles.
The text was updated successfully, but these errors were encountered: