Set of scripts etc. to work with DNA sequence and related files:
Basic statistics on contigs and scaffolds. Modifed after https://github.com/ucdavis-bioinformatics/assemblathon2-analysis
Generates a bed-file for the gaps or contigs for a given fasta file Splits the sequences on gaps of (default): 20 bases. Requires BioPython.
Example in IGV of a short sequence with a track for gaps and contigs from bedfiles generated by the script:
Converts the output from the TRF program (http://tandem.bu.edu/trf/trf.html)
to a gff file
-ngs flag set (available from TRF version 4.07b).
Really rough code, use at your own risk
python trf2gff.py trf_outfile.dat >trf_outfile.gff
Returns the length of each fasta entry, one length per line of output Usage: