Where do I put commands to run scripts?

Gaius Augustus

I'm trying to run a few scripts (whether python, java, etc). The developers in their documentation give code for me to put in. Here are some examples:

java -Xmx2g -jar muTect-XXXX-XX-XX.jar
--analysis_type MuTect
--reference_sequence <reference>
--cosmic <cosmic.vcf>
--dbsnp <dbsnp.vcf>
--intervals <intervals_to_process>
--input_file:normal <normal.bam>
--input_file:tumor <tumor.bam>
--out <call_stats.out>
--coverage_file <coverage.wig.txt> 

or

$ sudo easy_install virtualenv

Here's what I've done so far: 1) In windows 7, I've installed Cygwin; 2) I've installed Ubuntu for any Linux based computing.

My problem: I've tried putting these into cygwin, changing all the references to my file paths and the like. However, I can't seem to get anything to work. I assume I'm doing something very basic wrong. Does anyone have any insight or a VERY BASIC tutorial on how to get started? I'm not even sure what search terms to use in Google to find this kind of thing.

Thanks for any help.

Karan

You need to install the Java Runtime Environment (JRE) to run JARs (which are compiled programs, not scripts).

The JAR can then be launched via the normal cmd command prompt (no Cygwin required) or even by double-clicking in Windows Explorer. Since you want to pass arguments to it you should run it from the command prompt.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Where do I put scripts executed by systemd units?

From Dev

Where do I put scripts executed by systemd units?

From Dev

Where do BIRT scripts run?

From Dev

Where do BIRT scripts run?

From Dev

Where can I put commands that I want to run for all interactive, non-login shells?

From Dev

Where can I put commands that I want to run for all interactive, non-login shells?

From Dev

Where should I put my bash scripts

From Dev

If I use && to run two commands - do I need to put sudo in once or twice?

From Dev

Where do I put the PDO?

From Dev

Where do I put $(this) in the function?

From Dev

Where do I put the if statement?

From Dev

Where can I run application verifier commands

From Dev

Where to put commands to run when X starts with SLiM

From Dev

Where to put wrapper scripts?

From Dev

Where is / where do I put the common library?

From Dev

Why do some Linux shell scripts use exec to run commands?

From Dev

Where shall I put my util shell scripts in linux

From Dev

Where should I put system-wide scripts in *nix system?

From Dev

Where do I put a procedural code snippet to run in PHP.Gt?

From Dev

Where do I handle the WPF commands?

From Dev

How do I run multiple dotnet commands?

From Dev

ACPID not able to run commands in scripts

From Dev

Where do I put my resources in Scala?

From Dev

Where do I put assets in a PlayN project?

From Dev

Where do I put the mapping files for Elasticsearch?

From Dev

FORCE INDEX in MySQL - where do I put it?

From Dev

Where do I put my stubs?

From Dev

where do I put composer.json

From Dev

Where do I put custom code in Laravel