Taiji-pipeline / Taiji

All-in-one analysis pipeline
https://taiji-pipeline.github.io/
BSD 3-Clause "New" or "Revised" License
34 stars 9 forks source link

stderr: fixmate: invalid option -- 'm' #33

Closed extraordinari0217 closed 1 year ago

extraordinari0217 commented 1 year ago

Hello, dear Kai Zhang!

i have some troubles when running "Taiji" on some human ATAC-seq data.

[ERROR][11-16 03:32] ATAC_Filter_Bam(2fde..) Failed:

Ran commands: bash -c 'set -o pipefail; samtools view -f 2 -F 0x70c -q 30 -u /home/rui/project/output//ATACSeq/Bam/ctrl_nk1_1_rep1.bam | samtools sort -@ 2 - -n -m 4G -l 0 -T ./tmpdir-f44651b88b22a147/nsrt | samtools fixmate -r -m - - | samtools view -F 1804 -f 2 -u - | samtools sort -@ 2 - -T ./tmpdir-f44651b88b22a147/csrt -m 4G -l 9 -o /home/rui/project/output//ATACSeq/Bam/ctrl_nk1_1_rep1_filt.bam'

Exception: error running: bash -c 'set -o pipefail; samtools view -f 2 -F 0x70c -q 30 -u /home/rui/project/output//ATACSeq/Bam/ctrl_nk1_1_rep1.bam | samtools sort -@ 2 - -n -m 4G -l 0 -T ./tmpdir-f44651b88b22a147/nsrt | samtools fixmate -r -m - - | samtools view -F 1804 -f 2 -u - | samtools sort -@ 2 - -T ./tmpdir-f44651b88b22a147/csrt -m 4G -l 9 -o /home/rui/project/output//ATACSeq/Bam/ctrl_nk1_1_rep1_filt.bam' exit status: 1

> stderr: fixmate: invalid option -- 'm'

it seems that this error occurred because of the option 'm' was invalid for the funtion "fixmate" in the package "samtools". I am sorry to bother you, but can you help me please. Thank you very much!

extraordinari0217 commented 1 year ago

I have solved the problem by updating the package "samtools" to the version "1.16".