René's URL Explorer Experiment


Title: Not a gzipped file · Issue #84 · bionumpy/bionumpy · GitHub

Open Graph Title: Not a gzipped file · Issue #84 · bionumpy/bionumpy

X Title: Not a gzipped file · Issue #84 · bionumpy/bionumpy

Description: Hi, I received the following error when trying to read a standard bgzipped VCF file in kage: File "/home/kevin/miniforge3/envs/kage/lib/python3.12/site-packages/kage/command_line_interface.py", line 52, in main run_argument_parser(sys.ar...

Open Graph Description: Hi, I received the following error when trying to read a standard bgzipped VCF file in kage: File "/home/kevin/miniforge3/envs/kage/lib/python3.12/site-packages/kage/command_line_interface.py", lin...

X Description: Hi, I received the following error when trying to read a standard bgzipped VCF file in kage: File "/home/kevin/miniforge3/envs/kage/lib/python3.12/site-packages/kage/command_line_interface.py&...

Opengraph URL: https://github.com/bionumpy/bionumpy/issues/84

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Not a gzipped file","articleBody":"Hi,\n\nI received the following error when trying to read a standard bgzipped VCF file in kage:\n\n```\nFile \"/home/kevin/miniforge3/envs/kage/lib/python3.12/site-packages/kage/command_line_interface.py\", line 52, in main\n    run_argument_parser(sys.argv[1:])\n  File \"/home/kevin/miniforge3/envs/kage/lib/python3.12/site-packages/kage/command_line_interface.py\", line 559, in run_argument_parser\n    args.func(args)\n  File \"/home/kevin/miniforge3/envs/kage/lib/python3.12/site-packages/kage/indexing/main.py\", line 305, in make_index_cli\n    r = make_index(args.reference, args.vcf, args.out_base_name,\n        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/home/kevin/miniforge3/envs/kage/lib/python3.12/site-packages/kage/indexing/main.py\", line 74, in make_index\n    validate_input_vcf(vcf_file_name)\n  File \"/home/kevin/miniforge3/envs/kage/lib/python3.12/site-packages/kage/indexing/main.py\", line 40, in validate_input_vcf\n    with bnp.open(vcf_file_name) as f:\n         ^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/home/kevin/miniforge3/envs/kage/lib/python3.12/site-packages/bionumpy/io/files.py\", line 183, in bnp_open\n    return _get_buffered_file(filename, suffix, mode, is_gzip=is_gzip, buffer_type=buffer_type, lazy=lazy)\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/home/kevin/miniforge3/envs/kage/lib/python3.12/site-packages/bionumpy/io/files.py\", line 68, in _get_buffered_file\n    file_reader = NumpyFileReader(open_func(filename, \"rb\"), buffer_type) # , **kwargs2)\n                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/home/kevin/miniforge3/envs/kage/lib/python3.12/site-packages/bionumpy/io/parser.py\", line 68, in __init__\n    self._header_data = self._buffer_type.read_header(self._file_obj)\n                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/home/kevin/miniforge3/envs/kage/lib/python3.12/site-packages/bionumpy/io/file_buffers.py\", line 163, in read_header\n    file_object.seek(-len(line), 1)\n  File \"/home/kevin/miniforge3/envs/kage/lib/python3.12/gzip.py\", line 421, in seek\n    return self._buffer.seek(offset, whence)\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\ngzip.BadGzipFile: Not a gzipped file (b'\\x00\\x00')\n```\n\nIt took me a while to track the issue down, but it seems this was due to the use of the isal igzip module. As soon as I replaced the import with the standard gzip module everything worked fine. Let me know if there are any other details that might be helpful.","author":{"url":"https://github.com/lordkev","@type":"Person","name":"lordkev"},"datePublished":"2025-01-25T08:10:45.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/84/bionumpy/issues/84"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:6905d4ad-697d-b9f7-c0fb-0b7860ab54f0
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idAAEC:89420:CBD498:10B8981:698FB583
html-safe-nonceb7c834eb69b4a5abaed71c38549cd2c552b86242fc5c27a208beeef3faf06d69
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQUVDOjg5NDIwOkNCRDQ5ODoxMEI4OTgxOjY5OEZCNTgzIiwidmlzaXRvcl9pZCI6IjMwMzE0Mjg0MzY3Njg2NTkyMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac28e0e9cacc2f553c583a700f2da126868135dc199068bf3e5f4d9a024c9e9ad2
hovercard-subject-tagissue:2810841773
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/bionumpy/bionumpy/84/issue_layout
twitter:imagehttps://opengraph.githubassets.com/b8d6b44bdcb87242fb42ed37e0c70de1fe8f7dc3601981d38754f1dda9003b03/bionumpy/bionumpy/issues/84
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b8d6b44bdcb87242fb42ed37e0c70de1fe8f7dc3601981d38754f1dda9003b03/bionumpy/bionumpy/issues/84
og:image:altHi, I received the following error when trying to read a standard bgzipped VCF file in kage: File "/home/kevin/miniforge3/envs/kage/lib/python3.12/site-packages/kage/command_line_interface.py", lin...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamelordkev
hostnamegithub.com
expected-hostnamegithub.com
None6df359c0989bb4eb7656e0047ab7a57a6657880db88f5a202f4e51ddbc3dfce8
turbo-cache-controlno-preview
go-importgithub.com/bionumpy/bionumpy git https://github.com/bionumpy/bionumpy.git
octolytics-dimension-user_id115636236
octolytics-dimension-user_loginbionumpy
octolytics-dimension-repository_id542265970
octolytics-dimension-repository_nwobionumpy/bionumpy
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id542265970
octolytics-dimension-repository_network_root_nwobionumpy/bionumpy
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
released09a7639fca70dcd33f2b127cabd422a73b10aef
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/bionumpy/bionumpy/issues/84#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbionumpy%2Fbionumpy%2Fissues%2F84
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbionumpy%2Fbionumpy%2Fissues%2F84
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=bionumpy%2Fbionumpy
Reloadhttps://patch-diff.githubusercontent.com/bionumpy/bionumpy/issues/84
Reloadhttps://patch-diff.githubusercontent.com/bionumpy/bionumpy/issues/84
Reloadhttps://patch-diff.githubusercontent.com/bionumpy/bionumpy/issues/84
bionumpy https://patch-diff.githubusercontent.com/bionumpy
bionumpyhttps://patch-diff.githubusercontent.com/bionumpy/bionumpy
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fbionumpy%2Fbionumpy
Fork 17 https://patch-diff.githubusercontent.com/login?return_to=%2Fbionumpy%2Fbionumpy
Star 290 https://patch-diff.githubusercontent.com/login?return_to=%2Fbionumpy%2Fbionumpy
Code https://patch-diff.githubusercontent.com/bionumpy/bionumpy
Issues 9 https://patch-diff.githubusercontent.com/bionumpy/bionumpy/issues
Pull requests 0 https://patch-diff.githubusercontent.com/bionumpy/bionumpy/pulls
Actions https://patch-diff.githubusercontent.com/bionumpy/bionumpy/actions
Projects 0 https://patch-diff.githubusercontent.com/bionumpy/bionumpy/projects
Security 0 https://patch-diff.githubusercontent.com/bionumpy/bionumpy/security
Insights https://patch-diff.githubusercontent.com/bionumpy/bionumpy/pulse
Code https://patch-diff.githubusercontent.com/bionumpy/bionumpy
Issues https://patch-diff.githubusercontent.com/bionumpy/bionumpy/issues
Pull requests https://patch-diff.githubusercontent.com/bionumpy/bionumpy/pulls
Actions https://patch-diff.githubusercontent.com/bionumpy/bionumpy/actions
Projects https://patch-diff.githubusercontent.com/bionumpy/bionumpy/projects
Security https://patch-diff.githubusercontent.com/bionumpy/bionumpy/security
Insights https://patch-diff.githubusercontent.com/bionumpy/bionumpy/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/bionumpy/bionumpy/issues/84
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/bionumpy/bionumpy/issues/84
Not a gzipped filehttps://patch-diff.githubusercontent.com/bionumpy/bionumpy/issues/84#top
https://github.com/lordkev
https://github.com/lordkev
lordkevhttps://github.com/lordkev
on Jan 25, 2025https://github.com/bionumpy/bionumpy/issues/84#issue-2810841773
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.