Question: Cutadapt
0
gravatar for Tonyzeng
5.3 years ago by
Tonyzeng300
Tonyzeng300 wrote:

Just the first time to use cutadapt today with not bioinformatic background. First, Installment of cutadapt looks work when I input cutadapt command in Linux. However, When I input commands as

$ cutadapt -a ADAPTER-SEQUENCE input.fastq > output.fastq,

How can I put my input.fastq and cutadapt under the same directory to implement command smoothly since I saved the input fastq file on the desktop and cutadapt package under other directory of downloads on my MAC book?

• 3.2k views
ADD COMMENTlink modified 5.3 years ago by Devon Ryan86k • written 5.3 years ago by Tonyzeng300
1
gravatar for Devon Ryan
5.3 years ago by
Devon Ryan86k
Freiburg, Germany
Devon Ryan86k wrote:

They don't have to be in the same directory, you simply need to add cutadapt to your $PATH. If you type: echo $PATH from the Terminal, you'll get a list of directories, separated by a ":", that indicate locations to which you can copy the cutadapt executable. Then, you can simply "cd" to the directory with your input fastq file and run the command as you suggested. Alternatively, you could add the directory containing the cutadapt executable to your $PATH, but that's a longer explanation.

You'll be well served to get a book on using OSX or Linux from the command line, since this is a question surrounding basic computer usage.

ADD COMMENTlink written 5.3 years ago by Devon Ryan86k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 866 users visited in the last hour