summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHui Lan <lanhui@zjnu.edu.cn>2025-04-30 19:27:45 +0800
committerHui Lan <lanhui@zjnu.edu.cn>2025-04-30 19:27:45 +0800
commitafd2850262ec90208a439b66a1876041c6d9c7d8 (patch)
tree25709dd929be95e33b3d35c8df83c897b00cc6e8
parentc2e1d9db7c59daa9fa474b90539dcda9b848d4e9 (diff)
Which fastq file is under mapping?
-rw-r--r--Code/get_TPM_by_salmon.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Code/get_TPM_by_salmon.py b/Code/get_TPM_by_salmon.py
index a4ce3ff..461c2c8 100644
--- a/Code/get_TPM_by_salmon.py
+++ b/Code/get_TPM_by_salmon.py
@@ -14,7 +14,8 @@
# Last modified by Hui 10 Sep 2019
import sys, os, glob, shutil
-from configure import SALMON, SALMON_INDEX, TRANSCRIPTOME, SALMON_MAP_RESULT_DIR, KMER
+from log import write_log_file
+from configure import SALMON, SALMON_INDEX, TRANSCRIPTOME, SALMON_MAP_RESULT_DIR, KMER, UPDATE_NETWORK_LOG_FILE
#TRANSCRIPTOME = '/home/hui/tair10/AtRTD2_19April2016.fa'
#TRANSCRIPTOME = '../Data/information/ath_genes_index_v2.fa'
@@ -140,3 +141,4 @@ for k in src_id:
src_dir = src_id[k][0]
file_id = k
get_TPM(src_dir, file_id, SALMON_INDEX, SALMON_MAP_RESULT_DIR)
+ write_log_file('[get_TPM_by_salmon.py] Mapped %s' % k, UPDATE_NETWORK_LOG_FILE)