• Check it out - we have a chatbot! Go ask TuxBot a question in the Ask Tuxbot section!

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.
 


Tolkem

Well-Known Member
Joined
Jan 6, 2019
Messages
1,504
Reaction score
1,241
Credits
10,990
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.
 
OP
B

beaferbl

New Member
Joined
May 4, 2021
Messages
2
Reaction score
0
Credits
21
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...
 

khedger

Active Member
Joined
Jun 7, 2019
Messages
152
Reaction score
85
Credits
1,294
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
 
MALIBAL Linux Laptops

Linux Laptops Custom Built for You
MALIBAL is an innovative computer manufacturer that produces high-performance, custom laptops for Linux.

For more info, visit: https://www.malibal.com

Members online


Top