Hi, I have the below GFF3 file.
NbV1Ch08 AUGUSTUS gene 60876 63944 0.03 + . ID=g2
NbV1Ch08 AUGUSTUS mRNA 60876 63944 0.03 + . ID=g2.t1;Note=B3 domain-containing protein Os03g0120900;Parent=g2
NbV1Ch08 AUGUSTUS transcription_start_site 60876 60876 . + . Parent=g2.t1
NbV1Ch08 AUGUSTUS five_prime_utr 60876 61072 0.19 + . ID=g2.t1.5UTR1;Parent=g2.t1
NbV1Ch08 AUGUSTUS exon 60876 61072 . + . ID=g2.t1.exon1;Parent=g2.t1
NbV1Ch08 AUGUSTUS five_prime_utr 61673 61732 0.37 + . ID=g2.t1.5UTR2;Parent=g2.t1
NbV1Ch08 AUGUSTUS exon 61673 63449 . + . ID=g2.t1.exon2;Parent=g2.t1
NbV1Ch08 AUGUSTUS start_codon 61733 61735 . + 0 Parent=g2.t1
NbV1Ch08 AUGUSTUS CDS 61733 62974 0.54 + 0 ID=g2.t1.CDS1;Parent=g2.t1
NbV1Ch08 AUGUSTUS stop_codon 62972 62974 . + 0 Parent=g2.t1
NbV1Ch08 AUGUSTUS three_prime_utr 62975 63449 1 + . ID=g2.t1.3UTR1;Parent=g2.t1
NbV1Ch08 AUGUSTUS three_prime_utr 63565 63944 0.27 + . ID=g2.t1.3UTR2;Parent=g2.t1
NbV1Ch08 AUGUSTUS exon 63565 63944 . + . ID=g2.t1.exon3;Parent=g2.t1
NbV1Ch08 AUGUSTUS transcription_end_site 63944 63944 . + . Parent=g2.t1
NbV1Ch08 AUGUSTUS gene 64722 65524 0.32 - . ID=g3
NbV1Ch08 AUGUSTUS mRNA 64722 65524 0.32 - . ID=g3.t1;Parent=g3
NbV1Ch08 AUGUSTUS transcription_end_site 64722 64722 . - . Parent=g3.t1
NbV1Ch08 AUGUSTUS three_prime_utr 64722 64792 0.77 - . ID=g3.t1.3UTR1;Parent=g3.t1
NbV1Ch08 AUGUSTUS exon 64722 65524 . - . ID=g3.t1.exon1;Parent=g3.t1
NbV1Ch08 AUGUSTUS stop_codon 64793 64795 . - 0 Parent=g3.t1
NbV1Ch08 AUGUSTUS CDS 64793 65494 0.44 - 0 ID=g3.t1.CDS1;Parent=g3.t1
NbV1Ch08 AUGUSTUS start_codon 65492 65494 . - 0 Parent=g3.t1
I would like to keep those features because they mRNA contain Note
(writing into keep.gff3 file)
NbV1Ch08 AUGUSTUS gene 60876 63944 0.03 + . ID=g2
NbV1Ch08 AUGUSTUS mRNA 60876 63944 0.03 + . ID=g2.t1;Note=B3 domain-containing protein Os03g0120900;Parent=g2
NbV1Ch08 AUGUSTUS transcription_start_site 60876 60876 . + . Parent=g2.t1
NbV1Ch08 AUGUSTUS five_prime_utr 60876 61072 0.19 + . ID=g2.t1.5UTR1;Parent=g2.t1
NbV1Ch08 AUGUSTUS exon 60876 61072 . + . ID=g2.t1.exon1;Parent=g2.t1
NbV1Ch08 AUGUSTUS five_prime_utr 61673 61732 0.37 + . ID=g2.t1.5UTR2;Parent=g2.t1
NbV1Ch08 AUGUSTUS exon 61673 63449 . + . ID=g2.t1.exon2;Parent=g2.t1
NbV1Ch08 AUGUSTUS start_codon 61733 61735 . + 0 Parent=g2.t1
NbV1Ch08 AUGUSTUS CDS 61733 62974 0.54 + 0 ID=g2.t1.CDS1;Parent=g2.t1
NbV1Ch08 AUGUSTUS stop_codon 62972 62974 . + 0 Parent=g2.t1
NbV1Ch08 AUGUSTUS three_prime_utr 62975 63449 1 + . ID=g2.t1.3UTR1;Parent=g2.t1
NbV1Ch08 AUGUSTUS three_prime_utr 63565 63944 0.27 + . ID=g2.t1.3UTR2;Parent=g2.t1
NbV1Ch08 AUGUSTUS exon 63565 63944 . + . ID=g2.t1.exon3;Parent=g2.t1
NbV1Ch08 AUGUSTUS transcription_end_site 63944 63944 . + . Parent=g2.t1
On the other hand, I would like to reject those features because mRNA does not contain Note
(writing into reject.gff3 file)
NbV1Ch08 AUGUSTUS gene 64722 65524 0.32 - . ID=g3
NbV1Ch08 AUGUSTUS mRNA 64722 65524 0.32 - . ID=g3.t1;Parent=g3
NbV1Ch08 AUGUSTUS transcription_end_site 64722 64722 . - . Parent=g3.t1
NbV1Ch08 AUGUSTUS three_prime_utr 64722 64792 0.77 - . ID=g3.t1.3UTR1;Parent=g3.t1
NbV1Ch08 AUGUSTUS exon 64722 65524 . - . ID=g3.t1.exon1;Parent=g3.t1
NbV1Ch08 AUGUSTUS stop_codon 64793 64795 . - 0 Parent=g3.t1
NbV1Ch08 AUGUSTUS CDS 64793 65494 0.44 - 0 ID=g3.t1.CDS1;Parent=g3.t1
NbV1Ch08 AUGUSTUS start_codon 65492 65494 . - 0 Parent=g3.t1
Is there already anything available?
Thank you in advance