Entering edit mode
2.5 years ago
Neel
▴
20
Hi, I am trying to sort shortest length and longest length fasta seq of amino acids from fasta file. If anyone know anything about it please let me know.
GNNVVIGAGAKVLGSFKVGDNVKIGAGSVVNKVVPSDTTVVGIPGRIVLHNGVPIKDPDL
RHDELPDPVNEMLKCLMQRVEYLEERLNDEESRYNVFEIIQHHDTSKRGVPPKGERESCD
VRVRSNDL
>tr|A0A3D3WF91|A0A3D3WF91_9PROT
MRGFIDELRSIRERDPAAGGLLGLMFLTPSVHVMLAYRLGHRLWRWRMRFLARFTMQLAR
WFTGIEIHPAARIGKRFFIDHGMGVVIGETAVIGDDVTFYHGVTLGGLLPSVDSDGQRQK
KRHPTIRNNVIVGAGAQILGAITVNECARVGANSVVVKDVPQGTTVTGIPARPVSARRVT
DETTFQPYGTPSDLSSDARDKAIKGLLREVDILHNKLKMLEDLQGEAKQSESSFQPEATS
LSASDRN
>tr|Q2JWT3|Q2JWT3_SYNJA
MLTESSRVSGTKSLPSAVESPETGGSDSPSSAKPEPKLGFWQQFWEDIDCVFERDPAARN
RWEVLLTYPGVHALFLHRIAHWLWKRRCFFLARLLSFISRSFTLIEIHPAARIGRRFFID
HGCGVVIGETAEIGDDVTLYHGVTLGGTSWTKGKRHPTLEDGVIVGTGAKILGPVRIGAR
ARIGANAVVIQDVAPGMTVVGIPGRAVIPPHQRRIPAHGIDLDHHLMPDPVGRAIEQLLH
RIQELEAQVARLNQEREQDRQDQVRCE
>sp|P0A9D5|CYSE_ECOL6
MSCEELEIVWNNIKAEARTLADCEPMLASFYHATLLKHENLGSALSYMLANKLSSPIMPA
IAIREVVEEAYAADPEMIASAACDIQAVRTRDPAVDKYSTPLLYLKGFHALQAYRIGHWL
WNQGRRALAIFLQNQVSVTFQVDIHPAAKIGRGIMLDHATGIVVGETAVIENDVSILQSV
TLGGTGKSGGDRHPKIREGVMIGAGAKILGNIEVGRGAKIGAGSVVLQPVPPHTTAAGVP
ARIVGKPDSDKPSMDMDQHFNGINHTFEYGDGI
Thank you!
this looks suspiciously like homework ...
use seqkit sort sequences by length
Hi, i used this script, which result is given below but i want to find the seq which is shortest and longest in all seq of fasta file.
Thank you|
Thank you so much to all for your reply