Command Line Output Folder Options In Haploview
1
1
Entering edit mode
12.3 years ago
Avoks ▴ 40

Hi all,

I am trying to run a batch file with the Haploview command line interface but I can't seem to figure out how to get my output into a folder as individual files.

java -jar Haploview.jar -n -out Results -batch file_test.txt -blockoutput ALL -minMAF 0.05 -check -svg -pairwiseTagging 
java -jar Haploview.jar -n -out \Results\ -batch file_test.txt -blockoutput ALL -minMAF 0.05 -check -svg -pairwiseTagging 
java -jar Haploview.jar -n -out "\Results\" -batch file_test.txt -blockoutput ALL -minMAF 0.05 -check -svg -pairwiseTagging

None of these seem to give the desired result. Any suggestions will be greatly appreciated.

Thanks.

-Avoks

haploview • 4.0k views
ADD COMMENT
1
Entering edit mode

What exactly happens when you run the command? Does the results folder exist and spelled right (case sensitive)?

ADD REPLY
0
Entering edit mode

Hi Dk. The folder does exist. The first option creates Results.TAGS in the working directory, one of the files to be created per file in the batch input and just overwrites it over and over so there are results for just one entry. The second and third options are similar. They create a file simply called ".TAGS" in the Results folder and overwrites it just like the first option. The input for the -out argument is meant to be <fileroot> and I think that's where the Results folder is located.

ADD REPLY
0
Entering edit mode

Sorted...perl script.

ADD REPLY
0
Entering edit mode
11.0 years ago

You were very close. Sorry for answering so late; the following should work:

java -jar Haploview.jar -n -out "Results/myanalysis" -batch file_test.txt -blockoutput ALL -minMAF 0.05 -check -svg -pairwiseTagging

This will create your output files in the "Results" directory, all having the prefix "myanalysis":

$: ls Results
myanalysis.4GAMblocks  myanalysis.CHECK  myanalysis.GABRIELblocks  myanalysis.LD.SVG  myanalysis.SPINEblocks  myanalysis.TAGS  myanalysis.TESTS
ADD COMMENT

Login before adding your answer.

Traffic: 1736 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6