Home / TransRefine / ONT_test_r1
Name Modified Size InfoDownloads / Week
Parent folder
cuffcmp.temp.tmap 2024-10-04 121 Bytes
time.txt 2024-10-04 761 Bytes
cuffcmp.temp.refmap 2024-10-04 43 Bytes
xgboost_predict_pro.txt 2024-10-04 1.8 MB
TransGram-0.1.gtf 2024-10-04 50.3 MB
merge_test.graph 2024-10-04 22.7 MB
gene.gtf 2024-10-04 10.9 MB
TransGram-0.11.gtf 2024-10-04 48.9 MB
TransGram-0.3.gtf 2024-10-04 22.5 MB
TransGram-0.2.gtf 2024-10-04 35.4 MB
stringtie.gtf 2024-10-04 96.1 MB
gtf2path.info 2024-10-04 20.3 MB
TransGram-0.15.gtf 2024-10-04 43.0 MB
A2 2024-10-04 411 Bytes
merge.gtf 2024-10-04 68.5 MB
A-myGraph 2024-10-04 32.5 MB
log 2024-10-04 142 Bytes
merge.graph 2024-10-04 18.6 MB
TransGram-0.14.gtf 2024-10-04 44.5 MB
A2_ 2024-10-04 72 Bytes
TransGram-0.25.gtf 2024-10-04 28.1 MB
isoquant.gtf 2024-10-04 28.5 MB
TransGram-0.35.gtf 2024-10-04 18.3 MB
isoquant_cov.tsv 2024-10-04 1.5 MB
1.sh 2024-10-04 854 Bytes
TransGram-0.05.gtf 2024-10-04 59.3 MB
TransGram-0.13.gtf 2024-10-04 46.0 MB
TransGram-0.12.gtf 2024-10-04 47.3 MB
Filter.sh 2024-10-04 2.4 kB
one_cuffcompare.sh 2024-10-04 588 Bytes
Totals: 30 Items   744.9 MB 0

TransRefine

TransRefine 是一个用于转录组数据过滤的软件,能够整合多种其他软件的重构结果。该软件尚未发表,目前推荐使用 Scallop2 和 Stringtie2 处理二代测序数据,使用 Stringtie2 和 Isoquant 处理三代测序数据。对于其他软件生成的 GTF 文件,可能存在兼容性问题。

测试流程

安装依赖

首先,安装必要的 Python 包:

pip install tqdm concurrent.futures subprocess xgboost

运行步骤

  1. 生成合并图文件

运行以下命令,将多个 GTF 文件合并为一个图文件:

bash python graph.py -i test1.gtf test2.gtf -o merge.graph

  1. 处理 Isoquant 结果

如果需要合并 Isoquant 的结果,首先编辑 iso.py 文件,将以下变量修改为对应的文件路径:

python gtf_file = 'isoquant.gtf' cov_file = 'isoquant_cov.tsv'

然后运行以下命令生成合并的 GTF 文件:

bash ./simply_merge gtf1 gtf2 merge.gtf

  1. 生成路径信息

使用以下命令生成路径信息文件:

bash ./get_RightInfo_for_graph merge.gtf merge.graph gtf2path.info

  1. 开始测试

使用训练集文件(如 23_features_stringtie3.csv)进行预测:

bash python xgboost_model_predict.py -i 23_features_stringtie3.csv -g gtf2path.info

  1. 过滤转录本

最后,使用以下命令进行转录本过滤,生成最终的输出文件 output.gtf

bash ./filter_transcripts_based_on_count xgboost_predict_pro.txt merge.gtf output.gtf a(过滤参数) transgram

通过以上步骤,您可以使用 TransRefine 对转录组数据进行高效过滤和整合,文件夹中的数据对应数据集。二代d3-d8对应SRR1313132、SRR1313084、SRR1313085、SRR1313087、SRR1313088、SRR1313089三代ont r1-r6对应NA12878-cDNA、SRR14181741、RR6053080、ERR6053093、ERR9286480三代pacbio r11-r12对应SRR14638616、SRR1163657。训练数据集的特征文件(23_features_stringtie3.csv)在train_data文件夹中,测试数据集在test_data文件夹中。

Source: README.md, updated 2024-10-05