Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I submit a bio perl job via qsub?

Bio Job Perl submit
0
Posted

How do I submit a bio perl job via qsub?

0

There are two ways. One is to qsub the perl program directly. The other is to qsub a script that runs the perl script. This latter method is easier. Method 1: • qsub -S /usr/bin/perl test_bio.pl Method 2: • qsub test_bio.sh • chmod +x test_bio.sh (done only once). If test_bio.sh is located in a directory other than the home directory, then: • qsub ~/whatever_path/test_bio.sh The contents of test_bio.sh are: —- cut here —– (yes just two lines) • # • perl test_bio.pl —- cut here —– The contents of test_bio.pl are: —- cut here —– • #!/usr/bin/perl • use lib “/sw/lib/perl5”; • use lib “/sw/lib/perl5/darwin”; • use lib “/RemotePerl”; • # The PERL5LIB environment variable should already be set to: • # • # PERL5LIB=”/sw/lib/perl5:/sw/lib/perl5/darwin:/RemotePerl/” • # • # If not, you must set this in .bashrc or .tcshrc or .cshrc for your login.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123