Skip to content

alvaralmstedt/py_scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#py_scripts misc short python scripts!

fasta_capitals.py

Translates a fasta file containing mixed lowercase and uppercase nucleotides or amino acids into either only uppercase or only lowecase.

Usage: fasta_capitals.py <infile> <action>

Actions: u/U for translation into uppercase. l/L for translation into lowercase.

blast_to_gff.py

Converts a custom blast result or minimal bed file into a minimal gff file. Only accound for name, start, stop and orientation.

Usage: blast_to_gff.py <infile> <outfile.gff>

Note: Blast needs to be run with custom ouput for this script to work. The scripts only needs 3 fields in the input file: hit name, start, stop (tab-delimited). There is supprot for more fields, however. The information contained in additional fields will be diplayed in the comment field (field 9) of the GFF file.

About

misc short python scripts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages