Code Monkey home page Code Monkey logo

ikra's Introduction

DOI

ikra v2.0.1 -RNAseq pipeline centered on Salmon-

A gene expression table (gene × sample) is automatically created from the experiment matrix. The output can be used as an input of idep. Ikra is an RNAseq pipeline centered on salmon.

Note that sra-tools has to be installed locally. This is up to NCBI's tool upgrade. Please install sra-tools (>=2.10.7).

Usage

Usage: ikra.sh experiment_table.csv species \
        [--test, --fastq, --help, --without-docker, --udocker --protein-coding] \
        [--threads [VALUE]][--output [VALUE]]\
        [--suffix_PE_1 [VALUE]][--suffix_PE_2 [VALUE]]
  args
    1.experiment matrix(csv)
    2.reference(human or mouse)

Options:
  --test  test mode(MAX_SPOT_ID=100000).(dafault : False)
  --fastq use fastq files instead of SRRid. The extension must be foo.fastq.gz (default : False)
  -u, --udocker
  -w, --without-docker
  -pc, --protein-coding use protein coding transcripts instead of comprehensive transcripts. (default : True)
  -ct, --comprehensive-transcripts use comprehensive transcripts instead of protein coding transcripts. (default : False) 
  -t, --threads
  -o, --output  output file. (default : output.tsv)
  -l, --log  log file. (default : ikra.log)
  -a, --align carry out mapping onto a reference genome. hisat2 or star (default : None)
  -g, --gencode specify the version of gencode. (defalut : Mouse=26, Human=37)
  -s1, --suffix_PE_1    suffix for PE fastq files. (default : _1.fastq.gz)
  -s2, --suffix_PE_2    suffix for PE fastq files. (default : _2.fastq.gz)
  -h, --help    Show usage.
  -v, --version Show version.
  -r, --remove-intermediates Remove intermediate files
  • test option limits the number of reads to 100,000 in each sample.
  • udocker mode is for server environments that can only use User privileges. For more information https://github.com/indigo-dc/udocker.
  • without-docker mode works with all tools installed. Not recommended.
  • protein-coding mode restricts genes to protein coding genes only.
  • threads
  • output is output.tsv by default.
  • align mode generates genome-mapped bam and bigwig files. Note that Salmon works quasi-alignment mode similarly as no-align mode. Generated bw files can be visualized on IGV or other genome browsers. experiment matrix should be separated by commas (csv format).

SRR mode

name SRR Layout condition1 (optional) ...
Treg_LN_1 SRR5385247 SE Treg ...
Treg_LN_2 SRR5385248 SE Treg ...

fastq mode

name fastq(PREFIX) Layout condition1 (optional) ...
Treg_LN_1 hoge/SRR5385247 SE Treg ...
Treg_LN_2 hoge/SRR5385248 SE Treg ...
  • Denote names by connecting conditions and replicates with underscores. See idep's Naming convention in detail.
  • The first three columns are required.
  • If you want to use your own fastq file, add --fastq option. Ikra supports only .fq, .fq.gz, .fastq and fastq.gz.
  • fastq file specifies path excluding fastq.gz or _1.fastq.gz and _2.fastq.gz. For example, hoge/SRR5385247.fastq.gz is described as hoge/SRR5385247.
  • If suffix is not _1.fastq.gz or _2.fastq.gz, add -s1 and -s2 options.
  • It is impossible for docker to specify a hierarchy above the execution directory, such as ../fq/**.fastq.gz, but it can be avoided by pasting a symbolic link. bonohu blog

Output

  • output.tsv(scaledTPM)
  • multiqc_report.html : including fastQC reports and mapping rate of salmon(mapping rate for transcripts)

output sample

Treg_LN_1 Treg_LN_2
0610005C13Rik 0 0
0610006L08Rik 0 1
0610009B22Rik 4 10
...

Specification

Major bugs that have fixed

tximport_R.R 2019/04/30

A serious bug was reported in the tximport_R.R and fixed. In the older version, Salmon's output and multiqc reports were correct and sometimes output.tsv were disturbed. Please update Ikra to the latest version. If you are using the old version(<1.1.1), please update and re-run ikra. We apologize for the inconvenience.

fasterq-dump error 2019/09/21

A bug has been reported that stops processing due to the following error in sra-tools. docker: Error response from daemon: OCI runtime create failed: container_linux.go:345: starting container process caused "exec: \"fasterq-dump\": executable file not found in $PATH": unknown. The latest version has already been corrected, so if you encounter the same error, please update to the latest version.

Install

All you need is git clone ikra, and install docker or udocker(v1.1.3). No need for installing plenty of softwares! If you don’t want to use docker (or udocker), you must install all softwares by yourself and use —-without-docker option.

$ git clone https://github.com/yyoshiaki/ikra.git

if you use SRR mode, install sra-toolkit locally.

Upgrade

$ git pull origin master

Version

 $ bash ikra.sh --version
 ...
 ikra v2.0.1 -RNAseq pipeline centered on Salmon-
 ...

Version of tools

  • sra-tools : 2.10.9
  • FastQC : 0.11.9
  • MultiQC : 0.10.1
  • Trim Galore! : 0.6.7
  • Salmon : 1.4.0
  • tximport : 1.6.0
  • STAR : 2.7.8a
  • Hisat2 : 2.2.1
  • sambamba : 0.8.0
  • deeptools : 3.5.1

Version of reference genome (when using alignment option)

  • mouse:mm10 (GRCm38)
  • human:hg38 (GRCh38)

Test

SE

SRR mode

$ cd test/Illumina_SE && bash ../../ikra.sh Illumina_SE_SRR.csv mouse --test -t 10

fastq mode

You can execute it after you execute SRR mode. (That is because you don’t have fastq files.)

$ cd test/Illumina_SE && bash ../../ikra.sh Illumina_SE_fastq.csv mouse --fastq -t 10

PE

SRR mode

$ cd test/Illumina_PE && bash ../../ikra.sh Illumina_PE_SRR.csv mouse --test -t 10

fastq mode

You can execute it after you execute SRR mode. (That is because you don’t have fastq files.)

$ cd test/Illumina_PE && bash ../../ikra.sh Illumina_PE_fastq.csv mouse --fastq -t 10

test all (for developers)

cd test && bash test.sh && bash test.full.sh

For Mac Users

Dr.Ota(DBCLS) solved the problem that salmon doesn’t work on Mac. The cause of the problem is that Docker is allocated only 2GB by default on Mac. The problem will be solved by allocating sufficient memory space(>=8Gb) for Docker, and applying and restarting Docker.

img img

ikra pipeline

Tips

You can find SRR data so quickly in http://sra.dbcls.jp/

Q&A

  • In exporting output.tsv to iDEP, which data type should I select?

When iDEP reads output.tsv, please put a check to Read counts data.

Issue

Please refer to issue

Releases

Please refer to Relases

  • add support for udocker
  • add setting of species
  • gtf and transcript file from GENCODE
  • salmon
  • trimmomatic(legacy)
  • trim_galore!
  • tximport
  • fastxtools(for Ion)
  • judging fastq or SRR(manual)
  • introduce "salmon gcbias correction"
  • salomn validateMappings
  • pigz(multithread version of gzip)
  • fasterq-dump
  • cwl development is in progress
  • rename to "ikra"
  • protein coding option

Legacy

Moved the flow using trimmomatic to ./legacy

Reference

Development of cwl ver.

2019/03/22 https://youtu.be/weJrq5QNt1M We tried developing it because Mr.Michael visited Japan. For now, cwlnized trim_galore and salmon in PE.

cd test/cwl_PE && bash test.sh

sorce and reference ー cwl_tools

Citation

Hiraoka Yu, Yamada Kohki, Ryuichiro Yamsasaki, YusukeKawasaki, Kitabatake Ryoko, Matsumoto Yasunari, Ishikawa Kaito, Umezu Yuto, Hirose Haruka, & Yoshiaki Yasumizu. (2021). yyoshiaki/ikra: ikra v2.0.1 (v2.0.1). Zenodo. https://doi.org/10.5281/zenodo.5541399

Licence (Updated in Ver. 2.0)

This software is freely available for academic users. Usage for commercial purposes is not allowed. Please refer to the LICENCE page. If you are not an academic user, please contact to the author.

ikra's People

Contributors

handaimedstudent avatar kaitoou avatar mamezou10 avatar matchan123 avatar ryoka02 avatar ykohki avatar yuna06 avatar yusukekawasaki avatar yuto1352 avatar yyoshiaki avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ikra's Issues

docker: Error response from daemon: OCI runtime create failed: container_linux.go:345: starting container process caused "exec: \"fasterq-dump\": executable file not found in $PATH": unknown.

ikra.shについて、
実行コマンド
bash ../ikra/ikra.sh ../ikra/test/Illumina_PE/Illumina_PE_SRR.csv mouse -t 12

*******
+ SRR=SRR7501484
++ echo PID_1,SRR7501484,PE
++ cut -d, -f3
+ LAYOUT=PE
+ '[' PE = SE ']'
+ [[ ! -f SRR7501484_1.fastq.gz ]]
+ [[ '' == '' ]]
+ docker run -u 10011:10018 --rm -v /home/kyamada/ikra_master/run/test/Illumina_PE_SRR:/home -e HOME=/home --workdir /home inutano/sra-toolkit:2.9.0 fasterq-dump SRR7501484 --split-files --threads 12
docker: Error response from daemon: OCI runtime create failed: container_linux.go:345: starting container process caused "exec: \"fasterq-dump\": executable file not found in $PATH": unknown.

のエラーが出て、止まってしまいます。

csvに関しては、テスト用のものも、自作したもの実行した際も同じエラーです。

ftp server connection failed

以下のログが出力されたのですが、どのように解決すればよろしいでしょうか?よろしくお願いいたします。

ftp://ftp.ebi.ac.uk/pub/databases/gencode/Gencode_human/release_37/gencode.v37.metadata.HGNC.gz
=> ‘gencode.v37.metadata.HGNC.gz’
Connecting to ftp.ebi.ac.uk (ftp.ebi.ac.uk)|193.62.193.165|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD (1) /pub/databases/gencode/Gencode_human/release_37 ... done.
==> SIZE gencode.v37.metadata.HGNC.gz ... 1499316
==> PASV ... couldn't connect to 10.34.22.86 port 47191: Connection timed out

fasterq-dump

As I told you today, newer version of fastq-dump is available as fasterq-dump.
It can automatically detect SE or PE and implements threaded version of SRA to FASTQ conversion.
Check it out!

fasterq-dumpでとまります

SRRのダウンロードが途中でとまってしまうようになりました。。
全部で9個のうち3個めでエラーとなり、ディレクトリの問題かと別のHDDで試してみたら1個めから止まってしまう始末です。。
サーバーダウンしてるかもしれないしネット接続の問題かもしれないのですが、一応共有します
fasterq-dump.2.9.2 sys: timeout exhausted while reading file within network system module - mbedtls_ssl_read returned -76 ( NET - Reading information from the socket failed )

udockerのエラー

サーバーにて、-uまたは--udockerで実行すると止まってしまいます。

bash ../ikra.sh sample.csv human -u

の場合、

+ PIGZ_IMAGE=genevera/docker-pigz
+ udocker pull docker/whalesay
../ikra.sh: line 223: udocker: コマンドが見つかりません
bash ../ikra.sh sample.csv human --udocker

の場合、

+ echo 'ikra.sh: illegal option -- '\''udocker'\'''
ikra.sh: illegal option -- 'udocker'
+ exit 1

となってしまいます。

udockerのインストール自体はできていると思われます。
例)

$ udocker pull docker/whalesay
Downloading layer: sha256:e190868d63f8f8b85b026e53b5724c3c2a4548e1d642953442559cfa5f79b2c9
Downloading layer: sha256:909cd34c6fd77d398af1d93e9d4f7f76104903f237be3d4db7b345a19631f291
Downloading layer: sha256:0b9bfabab7c119abe303f22a146ff78be4ab0abdc798b0a0e97e94e80238a7e8
Downloading layer: sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4
Downloading layer: sha256:00bf65475aba8f1077fa9629f088a5f531d645faeccb6acd7a8626c7d896a4c4
Downloading layer: sha256:c57b6bcc83e3e88fb3748ea3f0cb13d77c4e2ffa7b9a8ded3d636f17d2d83759
Downloading layer: sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4
Downloading layer: sha256:8978f6879e2f86eb7a063e70f7d89feecde9950c40fc68f1f53d00b3c8ce9b52
Downloading layer: sha256:8eed3712d2cfd8c37b19d324452ba9cdb445933c04c9175c4e945b0d7241f1e3
Downloading layer: sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4
Downloading layer: sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4

また、

ikra/ikra.sh

Line 83 in 57c15bd

'-u'|'--undocker' )

'-u'|'--undocker' )

ikra.shの83行目が、undockerになってしまっています。
これはudockerが正しいでしょうか?

remove test mode

test mode(MAX_SPOT_ID)は引数で明示したほうが良さそう。

pigz

pigzいれる?その場合は適当なdocker imageを探す。

Error: all(file.exists(files)) is not TRUE

+ [[ ! -f output.tsv ]]
+ docker run -u 501:20 --rm -v /Users/yamada/ikra/test/Illumina_SE:/home -e HOME=/home --workdir /home fjukstad/tximport Rscript tximport_R.R gencode.vM19.metadata.MGI.gz Illumina_SE_SRR.csv output.tsv
Parsed with column specification:
cols(
  TXNAME = col_character(),
  GENEID = col_character()
)
Error: all(file.exists(files)) is not TRUE
Execution halted

Illumina_SEのテストなのですが、最後のここでとまってしまいます。
調べたら、https://support.bioconductor.org/p/87545/
PATHの問題のようなので、自分の環境含め見直してみます。
また解決し次第共有します。

DDBJから.sraをダウンロードする

fasterq-dump SRRIDだとNCBIから直接ダウンロードになって遅い。DDBJからapiを使って.sraを落としてfasterq-dumpで展開するように書き換える。

PE file name (fastq branch)

現状
*_1.fastq.gz, *_2.fastq.gz
の代わりに
*.fastq.gz
を引数に入れるとうごく。

あとで修正。


fq.gz はfastq.gzにmvすればいい?

手元のfastq filesからの実行

optionが実装されたあと、どうするか(スクリプトを別に作るかオプションで指定するかを決める)。
それまではフォークするなりクローンするなりで各自作ってください。

保存先の指定

都度いろいろDLしなくてすむと便利だなと思っています
もろもろが入った場所で実行して、吐き出される子たちを別のところに保存できるようなオプションつけてもらえると嬉しいです
ご検討よろしくお願いします!

tried_fileの保存場所

ターゲットファイルをディレクトリにまとめ、1階層上のdirectoryで実行した時、trimmed.fq.gzが実行directoryに保存されますが、その後のステップでターゲットファイルのdirectoryにtrimmedファイルを探しに行くようで、エラーで止まります。
ファイルは 190610_/test_ikra/fastqgz_data/fastq.gz
実行は 190610_
/test_ikra
trimmedファイルが190610_
**/test_ikra/***trimmed.fq.gzの様に出力されてしまい、以下のエラーが出ます。

Exception : [
The following errors were detected with the read files

ERROR: file [fastqgz_data/A1_1_R1_trimmed.fq.gz] does not appear to exist!

]

できれば、中間ファイルをまとめるdirectoryを作って、そこを参照しにいくようにしてもらえると助かります。
よろしくお願いいたします。

trimmomaticの情報をmultiqcに取り込む

https://multiqc.info/docs/#trimmomatic

The Trimmomatic module parses standard error generated by Trimmomatic, a flexible read trimming tool for Illumina NGS data. StdErr can be captured by directing it to a file e.g. trimmomatic command 2> trim_out.log

By default, the module generates the sample names based on the command line used by Trimmomatic. If you prefer, you can tell the module to use the filenames as sample names instead. To do so, use the following config option:

trimgaloreあたりでファイルの認識がうまくいかない

bash /Volumes/ST4T_1/Projects/_ikra/ikra/ikra.sh /Volumes/ST4T_1/Projects/xxx/fastq/exp_mat.csv human --fastq -t 4 -s1 .R1.fastq.gz -s2 .R2.fastq.gz

以下のようにfastqがemptyと言われる

+ docker run -u 501:20 --rm -v /Volumes/ST4T_1/Projects/osawa/PCYT2/fastq:/home -e HOME=/home --workdir /home quay.io/biocontainers/trim-galore:0.6.3--0 trim_galore --cores 4 --paired

 /Volumes/ST4T_1/Projects/xxx/fastq/Hela_control_si/Hela_control_si.R1.fastq.gz /Volumes/ST4T_1/Projects/xxx/fastq/Hela_control_si/Hela_control_si.R2.fastq.gz
Path to Cutadapt set as: 'cutadapt' (default)
Cutadapt seems to be working fine (tested command 'cutadapt --version')
Cutadapt version: 2.3
Could not detect version of Python used by Cutadapt from the first line of Cutadapt (but found this: >>>#!/bin/sh<<<)
Letting the (modified) Cutadapt deal with the Python version instead
Parallel gzip (pigz) detected. Proceeding with multicore (de)compression using 4 cores

No quality encoding type selected. Assuming that the data provided uses Sanger encoded Phred scores (default)

pigz: skipping: /Volumes/ST4T_1/Projects/xxx/fastq/Hela_control_si/Hela_control_si.R1.fastq.gz does not exist
Input file '/Volumes/ST4T_1/Projects/xxx/fastq/Hela_control_si/Hela_control_si.R1.fastq.gz' seems to be completely empty. Consider respecifying!

ファイルが空なわけではなさそう

wc -c </Volumes/ST4T_1/Projects/xxx/fastq/Hela_control_si/Hela_control_si.R1.fastq.gz 
710802789

以下のように単独で実行すると動く

trim_galore --paired /Volumes/ST4T_1/Projects/xxx/fastq/Hela_control_si/Hela_control_si.R1.fastq.gz /Volumes/ST4T_1/Projects/xxx/fastq/Hela_control_si/Hela_control_si.R2.fastq.gz

SE,SRR modeのTrimGaloreあたりでエラーが発生します。

cd test/Illumina_SE && bash ../../ikra.sh 20210511_ikra.csv human -t 4 

SEのSRR modeでIkraを使用させてもらっていたのですが、
下記のようなエラー表示が出てプログラムが終了してしまいます。
自分のパソコンに最新版のIkraが入っていることは確認済みです。

Approx 80% complete for SRR5169353_trimmed.fq.gz
Approx 85% complete for SRR5169353_trimmed.fq.gz
Approx 90% complete for SRR5169353_trimmed.fq.gz
Approx 95% complete for SRR5169353_trimmed.fq.gz
Analysis complete for SRR5169353_trimmed.fq.gz
+ for i in '`tail -n +2  $EX_MATRIX_FILE | tr -d '\''\r'\''`'
+ '[' false = false ']'
++ echo ,,,
++ cut -d, -f1
+ name=
++ echo ,,,
++ cut -d, -f2
+ SRR=
++ echo ,,,
++ cut -d, -f3
+ LAYOUT=
+ dirname_fq=./
+ '[' = SE ']'
../../ikra.sh: line 528: [: =: unary operator expected
+ '[' -f ./_1.fq ']'
+ '[' -f ./_1.fastq ']'
+ '[' -f ./.fq.gz ']'
+ '[' -f ./_1.fastq.gz ']'
+ [[ ! -f ./_1_val_1.fq.gz ]]
+ docker run -u 501:20 --rm -v /Users/bonohulab/ikra/test/Illumina_SE:/home -e HOME=/home --workdir /home quay.io/biocontainers/trim-galore:0.6.6--hdfd78af_1 trim_galore --cores 4 --paired ./_1.fastq.gz ./_2.fastq.gz --output_dir ./
Path to Cutadapt set as: 'cutadapt' (default)
Cutadapt seems to be working fine (tested command 'cutadapt --version')
Cutadapt version: 3.3
Could not detect version of Python used by Cutadapt from the first line of Cutadapt (but found this: >>>#!/bin/sh<<<)
Letting the (modified) Cutadapt deal with the Python version instead
pigz 2.6
Parallel gzip (pigz) detected. Proceeding with multicore (de)compression using 4 cores
 
No quality encoding type selected. Assuming that the data provided uses Sanger encoded Phred scores (default)
 
Output will be written into the directory: /home/
pigz: skipping: ./_1.fastq.gz does not exist
Input file './_1.fastq.gz' seems to be completely empty. Consider respecifying!

20210511_ikra.csvは下記のように作成していました。

name ,SRR,Layout,condition
SRR7134406,SRR7134406,SE,LPS_6h
SRR7134405,SRR7134405,SE,control_6h
SRR7134407,SRR7134407,SE,LPS_24h
SRR7134405,SRR7134405,SE,control_24h
SRR5169358,SRR5169358,SE,H2O2_1
SRR5169351,SRR5169351,SE,control_1
SRR5169359,SRR5169359,SE,H2O2_2
SRR5169352,SRR5169352,SE,control_2 
SRR5169360,SRR5169360,SE,H2O2_3
SRR5169353,SRR5169353,SE,control_3

multiqc : searching : /home で止まる

これまで問題なく解析できoutput.tsv が出力できていたのですが,下記添付のスクショの通り”multiqc : searching : /home”で止まり,この先の解析が進まなくなりました.原因や対処方法わかられましたらご教示ください. 
ikra

ファイル名でアンダーバーが入るとエラーが起こる

fileが
RAW_C_1_1.fastq.gz
みたいな名前だったので
experimental_matrix.csv

fastq(PREFIX)
の欄に

RAW_C_1
と書きました
それで動かすと

+ '[' false = true ']'
+ MAX_SPOT_ID=
+ echo experimental_matrix.csv
experimental_matrix.csv
+ cat experimental_matrix.csv
RAW_3H3,3H_3,PE,activated+ [[ -f tximport_R.R ]]
+ rm tximport_R.R
+ cp ../ikra/tximport_R.R ./

となってexperimental_matrix.csvの読み込みに失敗しました。
fileの名前に問題があるのではと思いRAW_C_1_1.fastq.gzをC1_1.fastq.gzとしたら問題なく動きました
つまり途中に_1などがあると問題が出るということのような気がしました。

salmonの部分でうまく動きません。

cd test/Illumina_PE && bash ../../ikra.sh SRP150441_PE_SRR.csv human -t 16 -o SRP150441_output.tsv

M1のMacで試してみたところ、以下のようなエラーがでました。

image

もういちどikraを再度ダウンロードしなおしてやりなおそうと考えています。スレッド数の指定などにも問題があったかと思うのでもう一度確認します。

もし解決法がありましたら教えていただけますと幸いです。よろしくお願い致します。

single end?

single endのSRRをいれたら途中で止まってしまいました。
fastqがダウンロードされたあとpairedのような認識になってしまった?
ご指導あればお願いします。

CSVの中身は
name | SRR | Layout
D1_nTconv | SRR5058658 | SE

コード 
ikra % cd csvのフォルダ && bash ../../ikra.sh ファイル名.csv human

エラー

  • SRR=SRR5058658
  • '[' $'SE\r' = SE ']'
  • [[ ! -f ./SRR5058658_1_val_1.fq.gz ]]
  • docker run -u 501:20 --rm -v / フォルダ名  i:/home -e HOME=/home --workdir /home quay.io/biocontainers/trim-galore:0.6.3--0 trim_galore --paired ./SRR5058658_1.fastq.gz ./SRR5058658_2.fastq.gz
    .......
    gzip: ./SRR5058658_1.fastq.gz: No such file or directory
    Input file './SRR5058658_1.fastq.gz' seems to be completely empty. Consider respecifying!

fasterq-dump.2.10.0 fatal: SIGNAL - Segmentation fault

docker run -u 10003:10003 --rm -v /home/yyasumizu/ikra_test/GSE71304:/home -e HOME=/home --workdir /home quay.io/biocontainers/sra-tools:2.10.0--pl526he1b5a44_0 fasterq-dump SRR2125884 --split-files --threads 1

This part didn't go well both on Mac and linux, ikra v1.2.2 dev.

2019-12-08T09:28:13 fasterq-dump.2.10.0 err: cmn_iter.c cmn_read_uint8_array( #15925249 ).VCursorCellDataDirect() -> RC(rcPS,rcCondition,rcWaiting,rcTimeout,rcExhausted) 
2019-12-08T09:28:13 fasterq-dump.2.10.0 err: row #15925249 : READ.len(100) != QUALITY.len(0) (D) 
2019-12-08T09:28:13 fasterq-dump.2.10.0 fatal: SIGNAL - Segmentation fault 

The native fasterq-dump successfully downloaded the fq files.

fasterq-dump SRR2125884 --split-files --threads 4

GSE71304_et.csv

name,SRR,Layout,condition
KO.Nrp1neg.TR#1,SRR2125884,PE,KO
KO.Nrp1neg.TR#2,SRR2125885,PE,KO
KO.Nrp1neg.TR#3,SRR2125886,PE,KO
WT.Nrp1neg.TR#1,SRR2125887,PE,WT
WT.Nrp1neg.TR#2,SRR2125888,PE,WT
WT.Nrp1neg.TR#3,SRR2125889,PE,WT

top画像をつける

高速でサーモンの寿司が回転寿司で流れていく絵をトップにしよう!

`--version` isn't referencing `version` function.

めちゃめちゃ些細なことですが一応、大事そうなのでこんなところに書いてみますが、

$ bash ikra.sh --version
...
ikra v1.2.1 -RNAseq pipeline centered on Salmon-
...

ってversionじゃなくてusageが出てくるのは意図的なんでしょうか?

せっかく、
function version() { cat << EOS >&2 ikra ${VERSION} -RNAseq pipeline centered on Salmon- EOS exit 1 }
でversionを定義しているのに、使われていない気が・・・。

'-v' | '--version' ) usage ;;

'-v' | '--version' ) version ;;
では?

Originally posted by @my0916 in #3 (comment)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.