<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Genome | HENG CHEN</title><link>https://heng.ac.cn/tag/genome/</link><atom:link href="https://heng.ac.cn/tag/genome/index.xml" rel="self" type="application/rss+xml"/><description>Genome</description><generator>Wowchemy (https://wowchemy.com)</generator><language>en-us</language><copyright>© 2022 Oxford · HENG CHEN | Thanks for your visiting.</copyright><lastBuildDate>Wed, 29 Jul 2026 00:00:00 +0000</lastBuildDate><image><url>https://heng.ac.cn/media/icon_hu197c37e438425c83ba9767a1ce72aaf7_8389_512x512_fill_lanczos_center_3.png</url><title>Genome</title><link>https://heng.ac.cn/tag/genome/</link></image><item><title>Genomic scripts repository</title><link>https://heng.ac.cn/resources/genomic_tools/</link><pubDate>Wed, 29 Jul 2026 00:00:00 +0000</pubDate><guid>https://heng.ac.cn/resources/genomic_tools/</guid><description>&lt;h2 id="overview">Overview&lt;/h2>
&lt;div class=article-container>
&lt;div class=article-style>
&lt;p>This repository contains customized scripts used for genomic research. See &lt;a href="https://github.com/DrChenHeng/Scripts_to_generate_high_quality_genomic_resource_for_Capsella_species" target="_blank">GitHub&lt;/a> for more details.&lt;/p>
&lt;h2 id="gene">Gene&lt;/h2>
&lt;ul>
&lt;li>&lt;code>Chr_id.py&lt;/code> - Extracts unique chromosome or sequence IDs from the first column of a GFF3 file.&lt;/li>
&lt;li>&lt;code>correct_proteome.py&lt;/code> - Cleans protein FASTA files before DIAMOND analysis by replacing invalid amino-acid characters with &lt;code>X&lt;/code>.&lt;/li>
&lt;li>&lt;code>delete_mRNA.py&lt;/code> - Removes selected transcript models from a GFF3 annotation and writes updated and deleted gene/transcript records.&lt;/li>
&lt;li>&lt;code>diamond_all_gene_homolog.py&lt;/code> - Runs DIAMOND protein searches between target and reference proteomes and produces a gene-level homolog table.&lt;/li>
&lt;li>&lt;code>diamond_rescue_target_na_gene.py&lt;/code> - Performs a second-direction DIAMOND rescue for target genes that remain unmatched after coordinate and reference-side rescue steps.&lt;/li>
&lt;li>&lt;code>diamond_rescue_unmatched_gene.py&lt;/code> - Uses DIAMOND to rescue unmatched reference or target genes and add sequence-supported homolog assignments.&lt;/li>
&lt;li>&lt;code>final_homolog.py&lt;/code> - Combines coordinate-based and DIAMOND-supported evidence into a final homolog table between two species.&lt;/li>
&lt;li>&lt;code>gff3_to_bed.py&lt;/code> - Converts &lt;code>repeat_region&lt;/code> features from GFF3 into BED format with 0-based starts.&lt;/li>
&lt;li>&lt;code>gff3_to_bed4.py&lt;/code> - Converts GFF3 features into BED4 format, including feature IDs as the fourth BED column.&lt;/li>
&lt;li>&lt;code>identify_homology.py&lt;/code> - Identifies homologous genes by comparing gene coordinates and annotations between species.&lt;/li>
&lt;li>&lt;code>one_step_homology_with_default.py&lt;/code> - Runs the homolog-identification workflow with default filtering and rescue settings.&lt;/li>
&lt;li>&lt;code>rename_gff.py&lt;/code> - Renames genes, mRNAs, exons, CDS, and UTR features in a GFF3 file using sequence-name prefixes.&lt;/li>
&lt;li>&lt;code>separate_non_overlapping_trans.py&lt;/code> - Splits non-overlapping isoforms into separate gene entries or reassigns them to overlapping genes.&lt;/li>
&lt;li>&lt;code>transcript_lengths_from_gff3.py&lt;/code> - Calculates spliced transcript length, unspliced transcript span, CDS length, and exon/CDS counts from GFF3 annotations.&lt;/li>
&lt;/ul>
&lt;h2 id="genome">Genome&lt;/h2>
&lt;ul>
&lt;li>&lt;code>chr_length.py&lt;/code> - Generates a sorted chromosome-length file from a genome FASTA for use with BEDTools.&lt;/li>
&lt;li>&lt;code>Gene_TE_distance_density.R&lt;/code> - Plots density curves of distances between TEs and their nearest genes across species.&lt;/li>
&lt;li>&lt;code>Gene_TE_distance_density_dashed_line.R&lt;/code> - Produces the same TE-nearest-gene distance density plot using dashed lines.&lt;/li>
&lt;li>&lt;code>genome_statistic.pl&lt;/code> - Calculates genome assembly statistics, including genome size, GC/N content, gap number, scaffold/contig N50 and N90, and L50/L90.&lt;/li>
&lt;/ul>
&lt;h2 id="te">TE&lt;/h2>
&lt;ul>
&lt;li>&lt;code>add_chr_id.py&lt;/code> - Adds sequential chromosome IDs to a list of chromosome or scaffold names.&lt;/li>
&lt;li>&lt;code>BLASTN.sh&lt;/code> - Builds a nucleotide BLAST database from an organelle reference and compares TE libraries against it.&lt;/li>
&lt;li>&lt;code>check_TE_classification.py&lt;/code> - Looks up TE classifications for a list of TE IDs using an annotation GFF3 file.&lt;/li>
&lt;li>&lt;code>chr_name_short_raw.txt&lt;/code> - Mapping table between shortened chromosome/scaffold names and original raw sequence names.&lt;/li>
&lt;li>&lt;code>DeepTE_name.txt&lt;/code> - Mapping table from DeepTE class labels to the TE classification names used in this project.&lt;/li>
&lt;li>&lt;code>detect_non_TE_RNA_by_Pfam.py&lt;/code> - Detects RNA-derived entries in a TE library from Rfam/Infernal results and splits RNA from non-RNA sequences.&lt;/li>
&lt;li>&lt;code>detect_satellite_by_tantan.py&lt;/code> - Uses tantan output to identify simple-repeat or satellite-like sequences in a TE library.&lt;/li>
&lt;li>&lt;code>extract_organelle_scaffolds.py&lt;/code> - Extracts scaffolds or regions likely derived from organelle sequences based on BLAST-like evidence.&lt;/li>
&lt;li>&lt;code>extract_TE_annotation.py&lt;/code> - Extracts selected TE annotation records from GFF3 files.&lt;/li>
&lt;li>&lt;code>FASTA_chr_name.py&lt;/code> - Extracts FASTA header names into a text file.&lt;/li>
&lt;li>&lt;code>FASTA_chr_name_change.py&lt;/code> - Renames FASTA sequence headers using a two-column name mapping file.&lt;/li>
&lt;li>&lt;code>gff_chr_name_change.py&lt;/code> - Renames the sequence ID column of a GFF3 file using a mapping table.&lt;/li>
&lt;li>&lt;code>rename_TR_gff.py&lt;/code> - Renames tandem-repeat GFF3 records into the TE naming format used by the project.&lt;/li>
&lt;li>&lt;code>rmout_to_bed4.py&lt;/code> - Converts RepeatMasker &lt;code>.out&lt;/code> records into BED4 format.&lt;/li>
&lt;li>&lt;code>sort_and_rename_TE_lib.py&lt;/code> - Sorts TE library sequences by class/family/group and assigns standardized TE IDs.&lt;/li>
&lt;li>&lt;code>split_TE_class_or_family_unknown_lib_for_DeepTE.py&lt;/code> - Extracts TE library entries with unknown class or family labels for DeepTE classification.&lt;/li>
&lt;li>&lt;code>split_TE_gff3.py&lt;/code> - Splits TE annotation GFF3 records by classification group.&lt;/li>
&lt;li>&lt;code>split_TE_lib.py&lt;/code> - Splits a TE library FASTA into separate files by TE class or family.&lt;/li>
&lt;li>&lt;code>split_TE_lib_for_DeepTE.py&lt;/code> - Prepares class-specific TE library subsets for DeepTE analysis.&lt;/li>
&lt;li>&lt;code>TE_class_name.txt&lt;/code> - Classification-order and prefix mapping table used for standardized TE library renaming.&lt;/li>
&lt;li>&lt;code>TE_length.py&lt;/code> - Calculates length and classification information for top-level TE annotations in GFF3 format.&lt;/li>
&lt;li>&lt;code>TE_lib_stat.py&lt;/code> - Summarizes sequence counts and total lengths for TE library classes.&lt;/li>
&lt;li>&lt;code>update_DeepTE_lib.py&lt;/code> - Updates TE library headers using DeepTE classifications while preserving original labels when classifications conflict.&lt;/li>
&lt;li>&lt;code>update_stat_EDTA_anno.py&lt;/code> - Cleans EDTA GFF3 annotations and calculates TE counts and masked base pairs at class, family, clade, and sequence levels.&lt;/li>
&lt;li>&lt;code>update_TEsorter_lib.py&lt;/code> - Resolves and cleans TEsorter FASTA headers, choosing the most informative non-unknown classification when possible.&lt;/li>
&lt;/ul>
&lt;hr></description></item></channel></rss>