Tool to extract a certain gene from an assembly.
GenePull is an interactive bash script which runs in the linux command line. To download, simply use:
wget https://raw.githubusercontent.com/Rowena-h/MiscGenomicsTools/main/GenePull/GenePull
Make the script executable with:
chmod +x GenePull
BLAST+ and bedtools must be installed for the script to work.
Option | Description |
---|---|
-h, --help | Display these options |
-a, --assembly | A genome assembly in fasta format |
-g, --gene | Gene of closely related species in fasta format |
-o, --output | Prefix for output file |
If there are multiple hits for the query gene, you will be shown the blast results and asked which hit you want to extract. To pick multiple hits, numbers must be separated by commas (e.g. 1,2,5,6,8
). Alternatively all hits can be extracted by typing a
.
./GenePull -a assembly.fa -g LSU.fa -o LSU_result