When I am trying to copy 9GB BAM files to the hard disk, the copied BAM file has only 4GB.What could be the issue?
1
0
Entering edit mode
7.0 years ago

Hello friends,

I have multiple BAM files in my server, each of them is 9GB file. When I am trying to copy them to the hard disk, the copied BAM file has only 4GB. I tried multiple times, what could be the issue?

When I opened the BAM file, I could see alignment only till chr8.

BAM Alignment DNASeq • 2.2k views
ADD COMMENT
2
Entering edit mode

What filesystem is the hard drive you're using? Some of the older ones (I think FAT32) can only store 4GB files as a maximum. I'd check this first. If you're using NTFS (or OSX Journaled) you should be fine, and it'll be some other issue.

ADD REPLY
0
Entering edit mode

Thanks, Jrj.healey.

To test this, I tried copying the BAM file to my local machine from the remote server. I could see the 9GB BAM file in my local machine :)

ADD REPLY
2
Entering edit mode

If you need a DOS filesystem compatible drive partition for some reason, the exFAT file system will enable both OSX and MS-DOS to read and write. I format most of my USB sticks with this so that I can connect it to any machine.

ADD REPLY
0
Entering edit mode

Thanks, Jrj.healey. Just now, I did it.

ADD REPLY
1
Entering edit mode

Either a 32bit file system or you ran out of space.

ADD REPLY
0
Entering edit mode

Thanks, Devon for your suggestions

ADD REPLY
3
Entering edit mode
7.0 years ago

Are you working on a fat32 partition with a maximum of 4Gb? Reformatting to e.g. exFAT would fix this.

ADD COMMENT
0
Entering edit mode

Thanks WouterDecoster.

I have a Mac OS machine. I used both 128GB usb drive and 500GB hard disk, by default it has been formatted on MS-DOS (FAT32).

Now I get it. I forgot to reformat the new drive and disk.

ADD REPLY
0
Entering edit mode

Alright, glad my first guess was right. For good measure I have moved my comment to an answer and added formatting, as such we can mark this question as solved.

ADD REPLY

Login before adding your answer.

Traffic: 1969 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6