<#2213 Added a gene to transcripts mapping file> P...
# test-data
g
#2213 Added a gene to transcripts mapping file Pull request opened by khersameesh24 tsv file with the transcripts and associated gene name based on the orfs detected with minigenome.fasta. This file was built with the minigenome.gtf file
Copy code
awk '                     
/transcript/ {
    match($0, /gene_id "([^"]+)"/, g)
    match($0, /transcript_id "([^"]+)"/, t)
    if (g[1] != "" && t[1] != "")
        print g[1] "\t" t[1]
}
' minigenome.gtf | sort -u > gene_trans_map.tsv
nf-core/test-datasets
Review on #2213 Added a gene to transcripts mapping file Review approved by maxulysse on khersameesh24's pull request nf-core/test-datasets