I tried to find any similar questions but I couldn't
So, I'm under ubuntu 14.04 64bit 32GB memmory
First
is the installation of ngsplot, I followed the guide as it is described (https://code.google.com/p/ngsplot/) for the installation.
2. Add ngsplot executables to your PATH. Under bash, add line like this:
export PATH=~/software/ngsplot/bin:$PATH
to your ~/.bash_profile
3. Set environment variable NGSPLOT like this in your ~/.bash_profile:
export NGSPLOT=~/software/ngsplot
Then in the terminal, execute:
. ~/.bash_profile
as I found out, there is no .bash_profile in my system
second, if I open a new terminal window the system forgets all the paths... the same happens when I restart the system.
so I have to repeat the PATH commands each time.
Is there anythin I can do to make things a little bit more persistent?
Second
I'm using the following command line, but I got an error of unrecognized option
ngs.plot.r -G hg18 -R enhancer -C ~/ngsplot/test.txt -O plottest.enchancer
and I got the following error:
third
And finally...what is with the following message?
In headerIndexBam(bam.list) :
Aligner for: /media/trotos/4TB/WORK/archive/a_60min.sorted.bam cannot be determined. Will automatically convert mapping scores of 255.
\third
the file is
Thank you for your time
So, I'm under ubuntu 14.04 64bit 32GB memmory
First
is the installation of ngsplot, I followed the guide as it is described (https://code.google.com/p/ngsplot/) for the installation.
2. Add ngsplot executables to your PATH. Under bash, add line like this:
export PATH=~/software/ngsplot/bin:$PATH
to your ~/.bash_profile
3. Set environment variable NGSPLOT like this in your ~/.bash_profile:
export NGSPLOT=~/software/ngsplot
Then in the terminal, execute:
. ~/.bash_profile
as I found out, there is no .bash_profile in my system
second, if I open a new terminal window the system forgets all the paths... the same happens when I restart the system.
so I have to repeat the PATH commands each time.
Is there anythin I can do to make things a little bit more persistent?
Second
I'm using the following command line, but I got an error of unrecognized option
ngs.plot.r -G hg18 -R enhancer -C ~/ngsplot/test.txt -O plottest.enchancer
and I got the following error:
Loading R libraries.....Done
Configuring variables...Error in setupVars(args.tbl, default.tbl) :
Unknown region specified. Must be one of: cgi exon genebody tss tes bed
Execution halted
Configuring variables...Error in setupVars(args.tbl, default.tbl) :
Unknown region specified. Must be one of: cgi exon genebody tss tes bed
Execution halted
And finally...what is with the following message?
In headerIndexBam(bam.list) :
Aligner for: /media/trotos/4TB/WORK/archive/a_60min.sorted.bam cannot be determined. Will automatically convert mapping scores of 255.
\third
ngs.plot.r -G hg18 -R bed -E '/media/trotos/4TB/WORK/UCSC/hg18/wgEncodeBroadHmmHuvecHMM.bed' -C ~/ngsplot/SMAD7.txt -O plotSMADstest.Hmmm
Loading R libraries.....Done
Configuring variables...Error in file(file, "rt") : cannot open the connection
Calls: SetupPlotCoord -> ReadBedCoord -> read.table -> file
In addition: Warning messages:
1: In ReadBedCoord(ur) : File name: '-1' does not seem to a correct name
for bed file.
2: In file(file, "rt") : cannot open file '-1': No such file or directory
Execution halted
trotos@UbuStupid:~$ ngs.plot.r -G hg18 -R bed -E '/media/trotos/4TB/WORK/UCSC/hg18/wgEncodeBroadHmmHuvecHMM.bed' -C ~/ngsplot/SMAD.txt -O plotSMADstest.Hmmm
Loading R libraries.....Done
Configuring variables...Error in file(file, "rt") : cannot open the connection
Calls: SetupPlotCoord -> ReadBedCoord -> read.table -> file
In addition: Warning messages:
1: In ReadBedCoord(ur) : File name: '-1' does not seem to a correct name
for bed file.
2: In file(file, "rt") : cannot open file '-1': No such file or directory
Execution halted
Loading R libraries.....Done
Configuring variables...Error in file(file, "rt") : cannot open the connection
Calls: SetupPlotCoord -> ReadBedCoord -> read.table -> file
In addition: Warning messages:
1: In ReadBedCoord(ur) : File name: '-1' does not seem to a correct name
for bed file.
2: In file(file, "rt") : cannot open file '-1': No such file or directory
Execution halted
trotos@UbuStupid:~$ ngs.plot.r -G hg18 -R bed -E '/media/trotos/4TB/WORK/UCSC/hg18/wgEncodeBroadHmmHuvecHMM.bed' -C ~/ngsplot/SMAD.txt -O plotSMADstest.Hmmm
Loading R libraries.....Done
Configuring variables...Error in file(file, "rt") : cannot open the connection
Calls: SetupPlotCoord -> ReadBedCoord -> read.table -> file
In addition: Warning messages:
1: In ReadBedCoord(ur) : File name: '-1' does not seem to a correct name
for bed file.
2: In file(file, "rt") : cannot open file '-1': No such file or directory
Execution halted
/media/trotos/4TB/WORK/archive/a0min.sorted.bam -1 "a0min"
/media/trotos/4TB/WORK/archive/a30min.sorted.bam.bam -1 "a30min"
/media/trotos/4TB/WORK/archive/a60min.sorted.bam.bam -1 "a60min"
/media/trotos/4TB/WORK/archive/b0min_BWA-mem.sorted.bam -1 "b0min"
/media/trotos/4TB/WORK/archive/b30min.sorted.bam.bam -1 "b30min"
/media/trotos/4TB/WORK/archive/b60min.sorted.bam.bam -1 "b60min"
/media/trotos/4TB/WORK/archive/c0min.sorted..bam -1 "c0min"
/media/trotos/4TB/WORK/archive/c30min.sorted..bam -1 "c30min"
/media/trotos/4TB/WORK/archive/c60min.sorted..bam -1 "c60min"
/media/trotos/4TB/WORK/archive/d0min.sorted..bam -1 "d0min"
/media/trotos/4TB/WORK/archive/d30min.sorted..bam -1 "d30min"
/media/trotos/4TB/WORK/archive/d0min.sorted.bam -1 "d60min"
/media/trotos/4TB/WORK/archive/a30min.sorted.bam.bam -1 "a30min"
/media/trotos/4TB/WORK/archive/a60min.sorted.bam.bam -1 "a60min"
/media/trotos/4TB/WORK/archive/b0min_BWA-mem.sorted.bam -1 "b0min"
/media/trotos/4TB/WORK/archive/b30min.sorted.bam.bam -1 "b30min"
/media/trotos/4TB/WORK/archive/b60min.sorted.bam.bam -1 "b60min"
/media/trotos/4TB/WORK/archive/c0min.sorted..bam -1 "c0min"
/media/trotos/4TB/WORK/archive/c30min.sorted..bam -1 "c30min"
/media/trotos/4TB/WORK/archive/c60min.sorted..bam -1 "c60min"
/media/trotos/4TB/WORK/archive/d0min.sorted..bam -1 "d0min"
/media/trotos/4TB/WORK/archive/d30min.sorted..bam -1 "d30min"
/media/trotos/4TB/WORK/archive/d0min.sorted.bam -1 "d60min"
Comment