ERROR: 1 Input file format was not correct

98 views
Skip to first unread message

macl...@gmail.com

unread,
Jul 10, 2020, 11:23:36 AM7/10/20
to FUMA GWAS users
First of all. Sorry gusy for posting this error again, so it has been posted so many times. But, even if I have been reading thorugh, I did not get it solved.
I filtered my dataframe in R and I created a txt file from it. I show the code:

write.table(procGWAScommOne, file = "GWAScommOne.txt", col.names = T, row.names = F, sep = "\t") # I tried to use a simple sep = "", and it did not work out either

This is the txt structure I am submitting in FUMA.

"CHR"    "BP"    "A1"    "A2"    "pval"    "OR"    "Beta"    "SE"    "N"
"11"    "44373635"    "T"    "C"    "0.7332"    "0.4377"    "0.0064"    "0.0188"    27693
"2"    "238487850"    "A"    "G"    "0.4902"    "0.7391"    "0.0138"    "0.02"    482730
"3"    "175336833"    "A"    "G"    "0.349"    "0.7845"    "0.0193"    "0.0207"    482730
"10"    "48369749"    "T"    "C"    "0.8575"    "0.3395"    "-0.0037"    "0.0205"    25556
"18"    "59012796"    "A"    "G"    "0.196"    "0.4572"    "-0.0279"    "0.0216"    471013
"6"    "165765833"    "T"    "C"    "0.8268"    "0.3791"    "0.0039"    "0.0178"    482730
"6"    "42399074"    "T"    "C"    "0.3118"    "0.2761"    "-0.0211"    "0.0208"    27693
"5"    "53816782"    "T"    "C"    "0.4062"    "0.4539"    "-0.014"    "0.0168"    482730

After so many tries, I am getting the same error

Kind regards.

d.p.wi...@vu.nl

unread,
Jul 10, 2020, 11:45:34 AM7/10/20
to FUMA GWAS users
Hello,

Maybe it is due to the quotes. Try "write.table(procGWAScommOne, file = "GWAScommOne.txt", col.names = T, row.names = F, sep = "\t", quote=F)".

Cheers,
Doug

macl...@gmail.com

unread,
Jul 10, 2020, 11:54:09 AM7/10/20
to FUMA GWAS users
Yes, It was.
It is running already.
Cheers,
Alex
Reply all
Reply to author
Forward
0 new messages