Question: Cutadapt
gravatar for Tonyzeng
4.5 years ago by
Tonyzeng260 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?

ADD COMMENTlink modified 4.5 years ago by Devon Ryan77k • written 4.5 years ago by Tonyzeng260
gravatar for Devon Ryan
4.5 years ago by
Devon Ryan77k
Freiburg, Germany
Devon Ryan77k 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 4.5 years ago by Devon Ryan77k
Please log in to add an answer.


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