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

ADD COMMENTlink modified 5.6 years ago by Devon Ryan89k • written 5.6 years ago by Tonyzeng300
gravatar for Devon Ryan
5.6 years ago by
Devon Ryan89k
Freiburg, Germany
Devon Ryan89k 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.6 years ago by Devon Ryan89k
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: 817 users visited in the last hour