fastq extraction command
0
0
Entering edit mode
3.8 years ago

Hi All, I have many fastq.gz files that I want to extract them from one directory to another one. Can you please tell me which linux command I should use? Thank you

Assembly • 767 views
ADD COMMENT
1
Entering edit mode

You may need learn some basic shell commands first. for example, google "shell command learn"

ADD REPLY
1
Entering edit mode
mv OneDirectory/*.fastq.gz AnotherDirectory/

if that doesn't work (perhaps because you don't have write permission to the original file location), you could try:

cp OneDirectory/*.fastq.gz AnotherDirectory/

By the way, this isn't really a bioinformatics question. It's rather a linux how to move or copy a file question. As was suggested by @shenwei356, you can probably figure this out on your own with a little effort.

ADD REPLY
1
Entering edit mode

I think OP is asking about keeping a copy of the original gzipped file and this is what should do the trick: https://unix.stackexchange.com/questions/156261/unzipping-a-gz-file-without-removing-the-gzipped-file

ADD REPLY

Login before adding your answer.

Traffic: 2501 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