Hello,
I recently installed MEGAN5 to my linux server to analyze my NGS data. I have some questions about the license and file input/output.
I got license file from email and saved it as "MEGAN5-academic-license.txt" under ~/megan. But I am not sure how I can active the license via option -L in command line. Below are commands I tried:
MEGAN fatal error:
java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
No output
Would you please help to correct the command? And, should I involve the license file every time I use MEGAN5 or it has a way to active only once?
Another question is, I have a 2G blastn output file which generated from a illumina sequencing. I tried to import it and get a rma file. But my command have no output after 26 hours running. I guess there must be something wrong with the command. Here are two files I used:
commands.txt
-----------------
load treeFile='/home/megan/class/resources/ncbi.map';
load treeFile='/home/megan/class/resources/ncbi.tre';
load taxGIFile='/home/megan/gi_taxid-March2015X.bin';
import blastfile='/home/blast/blast_map/blastn_veroall_tab7' fastaFile='/home/blast/blast_map/Veroall.fasta' meganfile='veroal.rma' blastFormat=BlastTAB;
quit;
job_megan
-------------
#!/bin/bash
#PBS -l nodes=1pn=12
#PBS -l mem=20gb
#PBS -l walltime=30:00:00
#PBS -m abe
#PBS -q default
#PBS -N megan
cd ${PBS_O_WORKDIR}
xvfb-run --auto-servernum --server-num=1 MEGAN -g false -v tree -L /home/megan/MEGAN5-academic-license.txt -c commands.txt
I use qsub system to submit the job, but no feedback.
Would you please help to correct it? I appreciate your help.
I recently installed MEGAN5 to my linux server to analyze my NGS data. I have some questions about the license and file input/output.
I got license file from email and saved it as "MEGAN5-academic-license.txt" under ~/megan. But I am not sure how I can active the license via option -L in command line. Below are commands I tried:
Code:
$ MEGAN -g -E -L ~/megan/MEGAN5-academic-license.txt
java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
Code:
$xvfb-run --auto-servernum --server-num=1 MEGAN -g false -L ~/megan/MEGAN5-academic-license.txt
Would you please help to correct the command? And, should I involve the license file every time I use MEGAN5 or it has a way to active only once?
Another question is, I have a 2G blastn output file which generated from a illumina sequencing. I tried to import it and get a rma file. But my command have no output after 26 hours running. I guess there must be something wrong with the command. Here are two files I used:
commands.txt
-----------------
load treeFile='/home/megan/class/resources/ncbi.map';
load treeFile='/home/megan/class/resources/ncbi.tre';
load taxGIFile='/home/megan/gi_taxid-March2015X.bin';
import blastfile='/home/blast/blast_map/blastn_veroall_tab7' fastaFile='/home/blast/blast_map/Veroall.fasta' meganfile='veroal.rma' blastFormat=BlastTAB;
quit;
job_megan
-------------
#!/bin/bash
#PBS -l nodes=1pn=12
#PBS -l mem=20gb
#PBS -l walltime=30:00:00
#PBS -m abe
#PBS -q default
#PBS -N megan
cd ${PBS_O_WORKDIR}
xvfb-run --auto-servernum --server-num=1 MEGAN -g false -v tree -L /home/megan/MEGAN5-academic-license.txt -c commands.txt
I use qsub system to submit the job, but no feedback.
Would you please help to correct it? I appreciate your help.