0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

parallel-fastq-dump

Last updated at Posted at 2017-12-26

#parallel-fastq-dump
マルチコアでfastq-dumpを実行できるラッパーです。
本家はpythonですがinutanoさんがbashで実装しています。

pfastq-dumpの実行にはsra-toolsのfastq-dumpとsra-statのパスを通しておく必要があります。

git clone http://github.com/inutano/pfastq-dump
cd pfastq-dump
chmod a+x bin/pfastq-dump

SRA IDを指定してダウンロードからfastq変換までしたい場合は以下のコマンドを打ちます。

pfastq-dump -t 12 -s SRR1781891 -O pfd_test

fastqファイルが生成されているはずです。

例として、SRP052999のデータをいくつかダウンロードしてみます。


for srr_id in SRR1781884 SRR1781885 SRR1781886 SRR1781887 SRR1781888 SRR1781889 SRR1781890 SRR1781891 ; \
do \
pfastq-dump -t 12 -s $srr_id ; \
done

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?