Hey
I am using the phasing pipeline provided with the germline and beagle, which converts plink into beagle and then germline files. However, I do get an error message win the BEAGLE software which is the following
Converting to BEAGLE
81843 SNPs
1050 samples
Run BEAGLE
Beagle version 3.0.4
Command line: java -jar beagle.jar
unphased=out_5.pre_phase.bgl
log=out_5.bgl
niterations=10
nsamples=2
missing=0
number of markers = 81843
number of haplotypes = 2100 (out_5.pre_phase.bgl)
Phasing: iteration 1
Phasing: iteration 2
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -2
at phaser.Z.c(Unknown Source)
at phaser.r.a(Unknown Source)
at phaser.K.a(Unknown Source)
at phaser.V.a(Unknown Source)
at phaser.PhaseMain.<init>(Unknown Source)
at phaser.PhaseMain.main(Unknown Source)
tail: cannot open `out_5.pre_phase.bgl.phased' for reading: No such file or directory
rm: cannot remove `out_5.pre_phase.bgl.phased': No such file or directory
phase.sh: line 79: gawk: command not found
Pedigree: 0
Individuals: 0
could anybody point me into the direction of the problem? I think it is important to note that
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -2
but I am not sure what it indicates
It could be that the program got something unexpected. Did you try to run BEAGLE with the test data? If you are able to use the test data without any issues, that would help you isolate your problem (and indicate something may be going on with your data).
You question is unclear, so if you would like help in this forum it's important to provide us with as much information as possible and follow guidelines. I have used BEAGLE before in the context of BEAST for phylogenetics, but I don't know what germline is, so perhaps in the future you could provide a link or some other information. What have you tried to solve your problem? There's an "out of bounds exception" at phaser? Looks like you are missing an output or pre-packaged file: 'out_5.pre_phase.bgl.phased'. Did you check to see if all the phaser files are present? Are there any errors in these files? Are you using the recommended version of Java for BEAGLE or germline? Tell us what you did already and help us to hone in on your problem.