Displaying 1 result from an estimated 1 matches for "genotypeinform".
2008 Jan 21
2
reordering huge data file
...e an frequently used solution for this type of work, however I am inclined to think it should be doable with R.
How do I open a text-file, line by line, evaluate it and write it back into a textfile in a different position;
Phenotypeinfo.txt (contains phenotype information)
Before.txt (contains genotypeinformation -see below-)
SNP;1-305,000 ID:1-900 allele.A alleleB
After.txt (the required format)
ID:1-250 phenotype SNP1.allelA SNP1.alleleB SNP2.Allele.A SNP2.allele.B etc
I have been looking at ?read.table/scan/readline/SQL-light but have not resolved it. Should I refer to PERL or can this be tac...