428bacd2dcbaca9304763d3f2dca7ccffd088caa hiram Tue May 26 11:18:06 2020 -0700 correct br tags refs #23734 diff --git src/hg/utils/automation/asmHubNcbiRefSeq.pl src/hg/utils/automation/asmHubNcbiRefSeq.pl index 48c4d58..60097d0 100755 --- src/hg/utils/automation/asmHubNcbiRefSeq.pl +++ src/hg/utils/automation/asmHubNcbiRefSeq.pl @@ -176,95 +176,95 @@ The RefSeq annotation and RefSeq RNA alignment tracks were created at UCSC using data from the NCBI RefSeq project. GFF format data files were downloaded from the file <b>${asmId}_genomic.gff.gz</b> delivered with the NCBI RefSeq genome assemblies at the FTP location:<br> <a href='ftp://ftp.ncbi.nlm.nih.gov/genomes/all/$ftpDirPath/' target='_blank'>ftp://ftp.ncbi.nlm.nih.gov/genomes/all/$ftpDirPath/</a> The GFF file was converted to the genePred and PSL table formats for display in the Genome Browser. Information about the NCBI annotation pipeline can be found <a href="https://www.ncbi.nlm.nih.gov/genome/annotation_euk/process/" target="_blank">here</a>. </p> <h2>Track statistics summary</h2> <p> -<b>Total genome size: </b>$totalBasesCmfy <b>bases<b></br><br> +<b>Total genome size: </b>$totalBasesCmfy <b>bases</b><br><br> <b>Curated and Predicted Gene count: </b>$itemCount<br> -<b>Bases in these genes: </b>$basesCovered</br> -<b>Percent genome coverage: </b>% $percentCoverage</br> +<b>Bases in these genes: </b>$basesCovered<br> +<b>Percent genome coverage: </b>% $percentCoverage<br> </p> _EOF_ ; if ( -s "$trackDataDir/ncbiRefSeq/${asmId}.ncbiRefSeqCurated.stats.txt" ) { $geneStats = `cat $trackDataDir/ncbiRefSeq/${asmId}.ncbiRefSeqCurated.stats.txt | awk '{printf "%d\\n", \$2}' | xargs echo`; chomp $geneStats; ($itemCount, $basesCovered) = split('\s+', $geneStats); $percentCoverage = sprintf("%.3f", 100.0 * $basesCovered / $totalBases); $itemCount = commify($itemCount); $basesCovered = commify($basesCovered); printf <<_EOF_ <p> <b>Curated gene count: </b>$itemCount<br> -<b>Bases in curated genes: </b>$basesCovered</br> -<b>Percent genome coverage: </b>% $percentCoverage</br> +<b>Bases in curated genes: </b>$basesCovered<br> +<b>Percent genome coverage: </b>% $percentCoverage<br> </p> _EOF_ } else { printf <<_EOF_ <p> <b>There are no curated gene annotations.</b> </p> _EOF_ } if ( -s "$trackDataDir/ncbiRefSeq/${asmId}.ncbiRefSeqPredicted.stats.txt" ) { $geneStats = `cat $trackDataDir/ncbiRefSeq/${asmId}.ncbiRefSeqPredicted.stats.txt | awk '{printf "%d\\n", \$2}' | xargs echo`; chomp $geneStats; ($itemCount, $basesCovered) = split('\s+', $geneStats); $percentCoverage = sprintf("%.3f", 100.0 * $basesCovered / $totalBases); $itemCount = commify($itemCount); $basesCovered = commify($basesCovered); printf <<_EOF_ <p> <b>Predicted gene count: </b>$itemCount<br> -<b>Bases in genes: </b>$basesCovered</br> -<b>Percent genome coverage: </b>% $percentCoverage</br> +<b>Bases in genes: </b>$basesCovered<br> +<b>Percent genome coverage: </b>% $percentCoverage<br> </p> _EOF_ } else { printf <<_EOF_ <p> <b>there are no predicted gene annotations</b> </p> _EOF_ } if ( -s "$trackDataDir/ncbiRefSeq/${asmId}.ncbiRefSeqOther.stats.txt" ) { $geneStats = `cat $trackDataDir/ncbiRefSeq/${asmId}.ncbiRefSeqOther.stats.txt | awk '{printf "%d\\n", \$2}' | xargs echo`; chomp $geneStats; ($itemCount, $basesCovered) = split('\s+', $geneStats); $percentCoverage = sprintf("%.3f", 100.0 * $basesCovered / $totalBases); $itemCount = commify($itemCount); $basesCovered = commify($basesCovered); printf <<_EOF_ <p> <b>Other annotation count: </b>$itemCount<br> -<b>Bases in other annotations: </b>$basesCovered</br> -<b>Percent genome coverage: </b>% $percentCoverage</br> +<b>Bases in other annotations: </b>$basesCovered<br> +<b>Percent genome coverage: </b>% $percentCoverage<br> </p> _EOF_ } printf <<_EOF_ <h2>Credits</h2> <p> This track was produced at UCSC from data generated by scientists worldwide and curated by the NCBI RefSeq project. </p> <h2>References</h2> <p> Kent WJ. <a href="https://genome.cshlp.org/content/12/4/656.full" target="_blank">BLAT - the BLAST-like alignment tool</a>.