Samtools faidx non-zero exit status 217
0
0
Entering edit mode
6.6 years ago
L. A. Liggett ▴ 130

I have been using something like samtools faidx hg19.fa chr1:115227843-115227863 to extract sequence for specified locations. However, for the particular command above I am getting: Command 'samtools faidx hg19.fa chr1:115227843-115227863' returned non-zero exit status 127. Am I doing something wrong here?

sequence • 2.3k views
ADD COMMENT
1
Entering edit mode

Just wondering, does samtools itself work when you type samtools? As the manual says, "if a command is not found, the child process created to execute it returns a status of 127" GNU

ADD REPLY
0
Entering edit mode

Yeah samtools does appear to be working fine. I'll try building a new reference and see if this helps.

ADD REPLY
1
Entering edit mode

Maybe your index or fasta are corrupted? Which version of samtools? With samtools 1.3.1:

samtools faidx hg19.fa chr1:115227843-115227863

>chr1:115227843-115227863

TGCTTCCCTGCTTCCAATGGC

ADD REPLY

Login before adding your answer.

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