Thank you very much for your kind suggestions. After editing the bash_profile my system is working perfectly and I can run all the tools. Now I want to allow other users to use this tools. How can I manage it.
Best Regards
Zillur
Header Leaderboard Ad
Collapse
bcftools inastallation problem
Collapse
Announcement
Collapse
SEQanswers June Challenge Has Begun!
The competition has begun! We're giving away a $50 Amazon gift card to the member who answers the most questions on our site during the month. We want to encourage our community members to share their knowledge and help each other out by answering questions related to sequencing technologies, genomics, and bioinformatics. The competition is open to all members of the site, and the winner will be announced at the beginning of July. Best of luck!
For a list of the official rules, visit (https://www.seqanswers.com/forum/sit...wledge-and-win)
For a list of the official rules, visit (https://www.seqanswers.com/forum/sit...wledge-and-win)
See more
See less
X
-
Originally posted by zillur View PostThank you very much for your kind reply. Here is my bash_profile file:# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/.local/bin:$HOME/bin
export PATH
I am not sure which part I need to edit. I have different tools in different directory, like:
/home/zillur/Desktop/zillur/Tools/bcftools-1.2
/home/zillur/Desktop/zillur/Tools/samtools-1.2
/home/zillur/Desktop/zillur/Tools/bowtie2-2.2.5
Code:PATH=$PATH:$HOME/.local/bin:$HOME/bin:/home/zillur/Desktop/zillur/Tools/bcftools-1.2:/home/zillur/Desktop/zillur/Tools/samtools-1.2:/home/zillur/Desktop/zillur/Tools/bowtie2-2.2.5
Code:$ echo $HOME
Leave a comment:
-
Thank you very much for your kind reply. Here is my bash_profile file:# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/.local/bin:$HOME/bin
export PATH
I am not sure which part I need to edit. I have different tools in different directory, like:
/home/zillur/Desktop/zillur/Tools/bcftools-1.2
/home/zillur/Desktop/zillur/Tools/samtools-1.2
/home/zillur/Desktop/zillur/Tools/bowtie2-2.2.5
Leave a comment:
-
Originally posted by zillur View PostThank you very much for your kind suggestions. It is working now perfectly. Another question, whenever I logout or shut down my computer and login again why I need to specify the paths (export PATH="/dir/:PATH"). Is there any way to avoid it?
Leave a comment:
-
Thank you very much for your kind suggestions. It is working now perfectly. Another question, whenever I logout or shut down my computer and login again why I need to specify the paths (export PATH="/dir/:PATH"). Is there any way to avoid it?
Leave a comment:
-
On RPM-based distributions, this package is often called ncurses-devel.
Leave a comment:
-
Thank you very much for your kind reply. I have tried like this:
[[email protected] Tools]$ sudo apt-get install ncurses-dev
[sudo] password for zillur:
sudo: apt-get: command not found
[[email protected] Tools]$ sudo yum install ncurses-dev
Failed to set locale, defaulting to C
Loaded plugins: fastestmirror, langpacks
base | 3.6 kB 00:00:00
Not using downloaded repomd.xml because it is older than what we have:
Current : Tue Mar 31 20:19:44 2015
Downloaded: Tue Mar 31 18:50:46 2015
extras | 3.4 kB 00:00:00
updates | 3.4 kB 00:00:00
updates/7/x86_64/primary_db | 3.3 MB 00:00:00
Determining fastest mirrors
* base: mirrors.uprm.edu
* extras: mirrors.uprm.edu
* updates: mirrors.uprm.edu
No package ncurses-dev available.
Error: Nothing to do
BUT THEN I HAVE TRIED THIS:
[[email protected] samtools-1.2]$ sudo yum install ncurses
[sudo] password for zillur:
Failed to set locale, defaulting to C
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirrors.uprm.edu
* extras: mirrors.uprm.edu
* updates: mirrors.uprm.edu
Package ncurses-5.9-13.20130511.el7.x86_64 already installed and latest version
Nothing to do
[[email protected] samtools-1.2]$ make
gcc -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_CURSES_LIB=1 -I. -Ihtslib-1.2.1 -c -o bam_tview_curses.o bam_tview_curses.c
bam_tview_curses.c:30:20: fatal error: curses.h: No such file or directory
#include <curses.h>
^
compilation terminated.
make: *** [bam_tview_curses.o] Error 1
Leave a comment:
-
Try
Code:$ sudo apt-get install ncurses-dev
Leave a comment:
-
Thank you very much for your kind help. I was trying like this, but:
[zill[email protected] samtools-1.2]$ sudo yum install libncurses5-dev
[sudo] password for zillur:
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirrors.uprm.edu
* extras: mirrors.uprm.edu
* updates: mirrors.uprm.edu
No package libncurses5-dev available.
Error: Nothing to do
[[email protected] samtools-1.2]$ sudo apt-get install libncurses5-dev
sudo: apt-get: command not found
Leave a comment:
-
Thank you very much for your kind response. bacfools is working now perfectly. But when I was trying to install samtools it gave me the following error report:
[[email protected] samtools-1.2]$ sudo make install
[sudo] password for zillur:
gcc -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_CURSES_LIB=1 -I. -Ihtslib-1.2.1 -c -o bam_tview_curses.o bam_tview_curses.c
bam_tview_curses.c:30:20: fatal error: curses.h: No such file or directory
#include <curses.h>
^
compilation terminated.
make: *** [bam_tview_curses.o] Error 1
The installation instructions are :
Compilation
===========
'cd' to the samtools-1.x directory containing the package's source and type
'make' to compile samtools.
This samtools release contains a copy of HTSlib which will be used to build
samtools. If you already have a system-installed HTSlib or another HTSlib
that you would prefer to build against, you can arrange this by overriding
$(HTSDIR) by typing 'make HTSDIR=/path/to/htslib-source' -- see the makefile
for details.
Installation
============
Type 'make install' to install the samtools executable and various scripts
and executables from misc/ and a manual page to /usr/local.
Type 'make prefix=/path/to/dir install' to install everything under your
choice of installation directory. The install target also understands
DESTDIR and the other usual installation directory variables.
The bgzip and tabix utilities are provided by HTSlib. If you have not also
installed HTSlib separately, you may wish to install these utilities by hand
by copying samtools-1.x/htslib-1.x/{bgzip,tabix} to the same bin directory
to which you have installed samtools et al.
Leave a comment:
-
Originally posted by zillur View PostThank you very much for your quick answer. How can I amend my $PATH or get info about my current $PATH.
Best Regards
Zillur
[[email protected] bcftools-1.2]$ pwd
/home/zillur/Desktop/zillur/Tools/bcftools-1.2The PATH environment variable is a colon-delimited list of directories that your shell searches through when you enter a command.
We have gone over this last year: http://seqanswers.com/forums/showpos...9&postcount=77
Leave a comment:
-
Thank you very much for your quick answer. How can I amend my $PATH or get info about my current $PATH.
Best Regards
Zillur
[[email protected] bcftools-1.2]$ pwd
/home/zillur/Desktop/zillur/Tools/bcftools-1.2
Leave a comment:
-
You only compiled the program. You would need to amend your $PATH to include the location of the program e.g. "/path_to/samtools-1.2/src/bcftools-1.2/" or copy the bcftools executable to a directory already in your $PATH (e.r. /usr/local/bin).
Leave a comment:
-
Another problem
Thank you very much for your kind help. This command worked perfectly but another problem, after installation.
Best Regards
Zillur
[[email protected] samtools-1.2]$ bcftools
bash: bcftools: command not found...
Leave a comment:
Latest Articles
Collapse
-
by seqadmin
Developments in sequencing technologies and methodologies have transformed the field of epigenetics, giving researchers a better way to understand the complex world of gene regulation and heritable modifications. This article explores some of the diverse sequencing methods employed in the study of epigenetics, ranging from classic techniques to cutting-edge innovations while providing a brief overview of their processes, applications, and advances.
Methylation Detect...-
Channel: Articles
05-31-2023, 10:46 AM -
-
Differential Expression and Data Visualization: Recommended Tools for Next-Level Sequencing Analysisby seqadmin
After covering QC and alignment tools in the first segment and variant analysis and genome assembly in the second segment, we’re wrapping up with a discussion about tools for differential gene expression analysis and data visualization. In this article, we include recommendations from the following experts: Dr. Mark Ziemann, Senior Lecturer in Biotechnology and Bioinformatics, Deakin University; Dr. Medhat Mahmoud Postdoctoral Research Fellow at Baylor College of Medicine;...-
Channel: Articles
05-23-2023, 12:26 PM -
-
by seqadmin
Continuing from our previous article, we share variant analysis and genome assembly tools recommended by our experts Dr. Medhat Mahmoud, Postdoctoral Research Fellow at Baylor College of Medicine, and Dr. Ming "Tommy" Tang, Director of Computational Biology at Immunitas and author of From Cell Line to Command Line.
Variant detection and analysis tools
Mahmoud classifies variant detection work into two main groups: short variants (<50...-
Channel: Articles
05-19-2023, 10:03 AM -
ad_right_rmr
Collapse
News
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by seqadmin, Yesterday, 08:56 PM
|
0 responses
8 views
0 likes
|
Last Post
by seqadmin
Yesterday, 08:56 PM
|
||
Deep Sequencing Unearths Novel Genetic Variants: Enhancing Precision Medicine for Vascular Anomalies
by seqadmin
Started by seqadmin, Yesterday, 07:33 AM
|
0 responses
8 views
0 likes
|
Last Post
by seqadmin
Yesterday, 07:33 AM
|
||
Unveiling Genetic Associations Through Transcription Factor Binding Quantitative Trait Loci
by seqadmin
Started by seqadmin, 05-31-2023, 07:50 AM
|
0 responses
4 views
0 likes
|
Last Post
by seqadmin
05-31-2023, 07:50 AM
|
||
Exploring French-Canadian Ancestry: Insights into Migration, Settlement Patterns, and Genetic Structure
by seqadmin
Started by seqadmin, 05-26-2023, 09:22 AM
|
0 responses
8 views
0 likes
|
Last Post
by seqadmin
05-26-2023, 09:22 AM
|
Leave a comment: