-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfeatureCounts Download
More file actions
23 lines (21 loc) · 1.94 KB
/
Copy pathfeatureCounts Download
File metadata and controls
23 lines (21 loc) · 1.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
GNU/Linux-Ubuntu
5. featureCounts
> wget https://sourceforge.net/projects/subread/files/subread-2.0.6/subread-2.0.6-Linux-x86_64.tar.gz
> ls #you must see 'subread-2.0.6-Linux-x86_64.tar.gz' file in your bash
> tar xvjf subread-2.0.6-Linux-x86_64.tar.gz #you must see 'subread-2.0.6-Linux-x86_64' file
> ls subread-2.0.6-Linux-x86_64/bin #you can see your featureCounts details using ls subread-2.0.6-Linux-x86_64/bin/featureCounts
> mkdir -p AppFiles/subread #Create AppFiles and collect all applications file in this "AppFiles".
> mv -v subread-2.0.6-Linux-x86_64 AppFiles/subread #Move featureCounts to hisat2 AppFiles
> chmod +x AppFiles/subread #chmod: This is the command used to change file permissions.
#+x: This option tells chmod to add the executable permission.
#hisat2: This specifies the file path of the hisat2 file within the directory.
> pwd
/home/aysegul/AppFiles/subread/bin #Don't forget change your local location
#If you want, you can copy the .bashrc file, open this file using nano function, and paste this PATH to an empty place at the bottom of this file and save it,
use this code:
> cp .bashrc bashrc.original #cp: This is the command used to copy files or directories.
#.bashrc: This is the name of the file you want to copy. It's typically a configuration file for the Bash shell.
#bashrc.original: This is the name of the backup file you want to create. It will contain a copy of the original .bashrc file.
> nano .bashrc
> paste 'export PATH=$PATH:/home/aysegul/AppFiles/subread/bin'
save and for exit use: ctrlX