MicrobialDarkMatter / nanomotif

Nanomotif - a tool for identifying methylated motifs in metagenomic samples
MIT License
22 stars 1 forks source link

Add bin consensus file preparation example #7

Closed SorenHeidelbach closed 8 months ago

SorenHeidelbach commented 9 months ago

Add file preparation code for bin consensus as suggested in issue #5

BINS=/path/to/bins # Bin directory EXT="fa" # Filename extension grep ">" ${BINS}/.${EXT} | sed "s/.\///" | sed "s/.${EXT}:>/\t/" | awk -F'\t' '{print $2 "\t" $1}' > contig_bin.tsv