Skip to content

Commit

Permalink
Fix novel gene and transcript counts in report
Browse files Browse the repository at this point in the history
  • Loading branch information
chbk committed Jun 9, 2021
1 parent 535c74b commit 97daa8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -1258,9 +1258,9 @@ process control_elements {
transcript_cdna_length_and_TSStorefgeneTSS_distance_for_exact_transcripts.png
reference_genes=\$(awk 'NR == 3 {print \$2}' detected_transcripts_genes_numbers.tsv)
novel_genes=\$(awk 'NR == 3 {print \$2 + \$7}' detected_transcripts_genes_numbers.tsv)
novel_genes=\$(wc -l string/novel_gnid_nbtr.txt | awk '{print \$1}')
reference_transcripts=\$(awk 'NR == 2 {print \$2}' detected_transcripts_genes_numbers.tsv)
novel_transcripts=\$(awk 'NR == 2 {print \$2 + \$7}' detected_transcripts_genes_numbers.tsv)
novel_transcripts=\$(wc -l string/novel_trid_nbex.txt | awk '{print \$1}')
perl -pe 's/^"([^"]+)".+\$/\$1/g' \\
ref_expr/ref.annot.tpm0.1.2samples.exons_complete_gnid_nbtr.txt \\
Expand Down

0 comments on commit 97daa8b

Please sign in to comment.