Question: Does Galaxy designate file sizes by SI or IEC?
1
gravatar for john
4.6 years ago by
john20
United States
john20 wrote:

I uploaded a 9,057,353,100 byte FASTQ file to Galaxy via ftp. This is about 9.057 GB or 8.436 GiB. Galaxy shows the uploaded file size as 8.4 GB. Is this actually 8.4 GiB?

forum galaxy • 781 views
ADD COMMENTlink modified 4.6 years ago by Istvan Albert250 • written 4.6 years ago by john20

There might be some compression in place.

ADD REPLYlink written 4.6 years ago by Martin Čech ♦♦ 4.9k
1
gravatar for john
4.6 years ago by
john20
United States
john20 wrote:

Possibly, it's just that 9.05 Gigabyte (1 GB = 10^9 B = 1,000,000,000 bytes) equals 8.4 Gibibyte (1 GiB = 2^30 B = 1,073,741,824 B). My file is 9.05 GB or 8.4 GiB. Galaxy shows my 9.05 GB or 8.4 GiB file as 8.4 GB. It just seems coincidental that the 8.4 value Galaxy gives in GB is what my file actually is in GiB, which makes me think they may be using the SI unit, where the prefix represents a power of ten (kB, MB, GB), when they actually mean IEC units, where the prefix represents a power of two (KiB, MiB, GiB).

ADD COMMENTlink written 4.6 years ago by john20

Galaxy is, in fact, using multiples of 1024 as you point out.

ADD REPLYlink written 4.6 years ago by Daniel Blankenberg ♦♦ 1.7k

So should we file a bug to correct the display units to say GiB (gibibytes using 2^30), or correct the scaling to really be in GB (gigabytes using 10^9)?

ADD REPLYlink written 4.5 years ago by Peter Cock1.4k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 183 users visited in the last hour