On Thu, Mar 12, 2009 at 6:28 AM, Daniel Brewer <daniel.brewer@icr.ac.uk>wrote:

> Hello,
>
> The GTF file from Ensembl for the human genome,
> Homo_sapiens.NCBI36.52.gtf, is 194M and is a tab-delimted text file.  I
> import it into R and process it so that there are two objects:
> genomeRanges & genomeBlocks.  genomeRanges is a list of IRanges objects,
> each of which is a particular chromosome and strand.  genomeBlocks is a
> list of dataframes with the associated annotation for each of the
> transcripts.
>
> When I save this to file
> (save(genomeBlocks,genomeRanges,file="Hsgenome.Rdata")) it comes out as
> 859M.  How is this possible? Especially as the Rdata file is a binary
> format.
>
> > object.size(genomeBlocks)
> [1] 2939935864
>

You don't tell us exactly how you made this, but the above shows that
genomeBlocks
is consuming about 2.9 GB.  Serializing to 859M seems reasonable.  If you
want more
information, send more details.


>
> > object.size(genomeRanges)
> [1] 8769208
>
> Anyway got any ideas what is going on?
>
> Thanks
>
> Dan
>
>
> --
> **************************************************************
> Daniel Brewer, Ph.D.
>
> Institute of Cancer Research
> Molecular Carcinogenesis
> Email: daniel.brewer@icr.ac.uk
> **************************************************************
>
> The Institute of Cancer Research: Royal Cancer Hospital, a charitable
> Company Limited by Guarantee, Registered in England under Company No. 534147
> with its Registered Office at 123 Old Brompton Road, London SW7 3RP.
>
> This e-mail message is confidential and for use by the...{{dropped:13}}

