WGLab/GenGen

--strandfile

Opened this issue · 8 comments

Hi,
I'm trying to convert alleles coding from forward type to top but i do not know how to construct the strandfile for my data? I have data from a sample of sheep genotyped with the illumina 50OvineBeadchip
thanks in advance

Sara

Thank you for the answer, I tryied to follow instructions:

convert_bim_allele.pl /home/sara/GenGen-1.0.1/testcomisana.bim /home/sara/GenGen-1.0.1/test/SNPTable.txt -intype forward -outtype top -outfile /home/sara/GenGen-1.0.1/testcomisana.top.bim

but I got the following answer
Error in argument: please specify --strandfile when '-intype' is 'forward'

I'ma almost sure that my current coding is not Top

sboer commented

Hi!

I have the same problem. I am trying to convert an Illumina export file (TOPBOT) to forward strand, and is asked for a strandfile. In the instruction, it says to use the snp14 file and cut the appropriate columns. What is a snp14 file and what is the appropriate columns?

Thanks

sboer commented

Thanks for clearyfying! Just extracting chr, pos, rs and +/- then? (there are no headers in the file)
Would it be possible, somehow, to specify a file with information about the reference and alternative alleles, in addition to top/bot strand instead? I have a mapping file, run with blat, that has used hg19 as reference, and the resulting file containts information about TOPBOT-strand, ref/alt alleles according to TOPBOT and ref/alt alleles according to forward strand (hg19)

Thanks

@kaichop

Is it specified anywhere what is the correct format for the strandfile? I did not find this in the documentation and I am not working on human data.

Which columns need to appear in the strandfile?

It seems that I can't run GenGen without specifying a strandfile:

Error in argument: please specify --strandfile when '-outtype' is 'forward'

Alright, thanks for the quick answer!