Files recognized as gzip but not compressed

beaferbl

New Member
Joined
May 4, 2021
Messages
2
Reaction score
0
Credits
21
Hi everyone,
I'm new to Linux, working with Ubuntu 20.04 in a virtual machine. I have a shared folder in my Windows desktop, so I can work with it in the machine. I have a problem, some of these files are recognized as gzip but they do not have this extension (they are .bam). When I try to extract them I have the message: an error occurred while extracting files. If I add the .gz extension I get to extract them but they are higher and give error when run with other applications. In Windows they work fine. Anyone knows how can I solve this? Thank you.
 


You have problems viewing the files in the Linux VM, is that correct? What virtualization software are you using for your VMs? VirtualBox? VMWare? Other? I've never dealt with .bam files so I can't give any advice there, however, a web search threw these:

Maybe you can find something useful in one of those links.
 
You have problems viewing the files in the Linux VM, is that correct? What virtualization software are you using for your VMs? VirtualBox? VMWare? Other? I've never dealt with .bam files so I can't give any advice there, however, a web search threw these:

Maybe you can find something useful in one of those links.

BAM files store genomic data in a binary format. I am working with Virtual Box. Maybe this happens with other binary files...
 
This is just a guess, but you might want to verify:
There's a possibility that the linux system THINKS that the files are gzip'd but that they are not. These .bam files may just 'look' like they are compressed.
So, can you run a command to process one of these files in some on the linux system without changing the extension or trying to unzip them. Just a straight "somecommand foobar.bam'. Can you do this on the windows box?
If this command works on either system, then it would appear that the files are not compressed.

keith
 

Staff online

Members online


Top