def filter_missing_rna(s2bins, bins2s, rna_cov):
for bin, scaffolds in list(bins2s.items()):<EOL><INDENT>c = <NUM_LIT:0><EOL>for s in scaffolds:<EOL><INDENT>if s in rna_cov:<EOL><INDENT>c += <NUM_LIT:1><EOL><DEDENT><DEDENT>if c == <NUM_LIT:0>:<EOL><INDENT>del bins2s[bin]<EOL><DEDENT><DEDENT>for scaffold, bin in list(s2bins.items()):<EOL><INDENT>if bin not in bins2s:<EOL><INDENT>del s2bins[scaffold]<EOL><DEDENT><DEDENT>return s2bins, bins2s<EOL>
remove any bins that don't have 16S