Addressing the path in mac OX
1
0
Entering edit mode
5.9 years ago
Za ▴ 140

Hi,

My sam files are in bowtie2 folder, how I can run samtools on the without having to move sam files from bowtie folder to samtools folder? I have done so;

dhcp179185:~ unknown$ 
dhcp179185:~ unknown$ bash
bash-3.2$ cd /Users/unknown/downloads/bowtie
bash-3.2$ pwd
/Users/unknown/downloads/bowtie
bash-3.2$ export SAM=/Users/unknown/downloads/samtools
bash-3.2$ echo $SAM
/Users/unknown/downloads/samtools
bash-3.2$ pwd
/Users/unknown/downloads/bowtie
bash-3.2$ $SAM/samtools sort SRR193424.sam > SRR193424_sorted.sam
***bash: /Users/unknown/downloads/samtools: No such file or directory***
software error terminal • 917 views
ADD COMMENT
2
Entering edit mode
5.9 years ago
export PATH=$PATH:/Users/unknown/downloads
samtools sort -o SRR193424.bam SRR193424.sam

Or something along those lines. As a rule of thumb, never write SAM files to disk.

ADD COMMENT

Login before adding your answer.

Traffic: 1985 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6