seqret: command not found
1
0
Entering edit mode
2.1 years ago
ÖZGÜN • 0

Hello,

I'm using macMonterey 12.6

I try to convert GenBank file into GFF3 or FASTA but when I scripted to code ""cat AF086833.gb | seqret -filter -feature -osformat gff3 > AF086833.gff", the shell gives an error "zsh: command not found: seqret". How can I solve it and should I bash instead of zsh?

seqret • 916 views
ADD COMMENT
0
Entering edit mode

Is seqret installed? which seqret

ADD REPLY
0
Entering edit mode

no, I didn't install. How can I install?

ADD REPLY
0
Entering edit mode
2.1 years ago

you need to install the seqretbut that's a not so easy task you need conda etc.

what is more problematic, though, is that the GFF conversion via seqret is not that great either, I forgot the exact details, but there are inconsistencies

it is best if you get the gff directly; you could use a tool I wrote bio

pip install bio --upgrade

then you can do:

bio fetch AF086833 --format gff > AF086833.gff

or

 cat AF086833.gb  | bio gff > AF086833.gff

the two GFF files will not be identical, as the first obtains the GFF file from NCBI whereas the latter converts the GenBank to GFF.

The GFF distributed by NCBI may contain information that is not present in the GenBank file

ADD COMMENT
0
Entering edit mode

thank you for explanation, I have conda so I installed easily.

ADD REPLY

Login before adding your answer.

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