xml2fsa
raw| 1 | #!/bin/sh |
| 2 | |
| 3 | # Public domain notice for all NCBI EDirect scripts is located at: |
| 4 | # https://www.ncbi.nlm.nih.gov/books/NBK179288/#chapter6.Public_Domain_Notice |
| 5 | |
| 6 | xtract -pattern INSDSeq \ |
| 7 | -pfx ">" -first INSDSeq_accession-version,INSDSeqid,INSDSeq_primary-accession,INSDSeq_locus \ |
| 8 | -clr -pfx " " -first INSDSeq_definition \ |
| 9 | -clr -pfx "\n" -sep "\n" -fasta INSDSeq_sequence |