[GenABEL-dev] probabel big endian support
Jurica Stanojkovic
Jurica.Stanojkovic at rt-rk.com
Thu Apr 24 15:52:42 CEST 2014
Dear list,
I have tried building package probabel on mips big endian.
It looks like that inputfiles/*.fvd and inputfiles/*.fvi are created on little endian machine and are not working on big endian ones.
I have tried to create them on big endian mips, and replace ones that came with source package with the ones that I have created.
The package was built with new files without an error.
I used following command to create files:
library(GenABEL)
library(DatABEL)
fvdose <- mach2databel(imputedg="./checks/inputfiles/test.mldose", mlinfo="./checks/inputfiles/test.mlinfo", outfile="./checks/inputfiles/test.dose")
fvprob <- mach2databel(imputedg="./checks/inputfiles/test.mlprob", mlinfo="./checks/inputfiles/test.mlinfo", outfile="./checks/inputfiles/test.prob", isprob=TRUE)
mmdose <- mach2databel(imputedg="./checks/inputfiles/mmscore_gen.mldose", mlinfo="./checks/inputfiles/mmscore_gen.mlinfo", outfile="./checks/inputfiles/mmscore_gen.dose")
mmprob <- mach2databel(imputedg="./checks/inputfiles/mmscore_gen.mlprob", mlinfo="./checks/inputfiles/mmscore_gen.mlinfo", outfile="./checks/inputfiles/mmscore_gen.prob", isprob=TRUE)
I am new to ProbABEL, GenABEL, DatABEL so could someone please help me with following questions:
What is the best course of action for supporting probabel on big endian?
Should *.fvi, *.fvd files allways be in little endian format (than DatABEL needs to be changed to always create little endian files)?
Or can *.fvd, *.fvi files be replaced with big endian files for big endian build?
Is it necessary to be able to use *.fvd *.fvi files created on a different endian system?
I am willing to work on adding big endian support and I will appreciate any help in determining the right course of action in resolving this problem.
Regards,
Jurica
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/genabel-devel/attachments/20140424/649fa237/attachment.html>
More information about the genabel-devel
mailing list