This repository has been archived by the owner on Jul 8, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
48 lines (30 loc) · 2.18 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
build_genome_lib:
../ctat-genome-lib-builder/prep_genome_lib.pl --genome_fa minigenome.fa --gtf minigenome.gtf --fusion_annot_lib CTAT_HumanFusionLib.mini.dat.gz --annot_filter_rule AnnotFilterRule.pm --gmap_build
touch build_genome_lib
STAR_FUSION: build_genome_lib
../STAR-Fusion/STAR-Fusion --left_fq rnaseq_1.fastq.gz --right_fq rnaseq_2.fastq.gz --genome_lib_dir ctat_genome_lib_build_dir
touch STAR_FUSION
STAR_FUSION_FULL: build_genome_lib
../STAR-Fusion/STAR-Fusion --left_fq rnaseq_1.fastq.gz --right_fq rnaseq_2.fastq.gz --genome_lib_dir ctat_genome_lib_build_dir --FusionInspector validate --denovo_reconstruct --examine_coding_effect
FusionInspector: build_genome_lib
../FusionInspector/FusionInspector --fusions fusion.targets --left_fq rnaseq_1.fastq.gz --right_fq rnaseq_2.fastq.gz --genome_lib_dir ctat_genome_lib_build_dir --vis
FusionInspector_FULL: build_genome_lib
../FusionInspector/FusionInspector --fusions fusion.targets --left_fq rnaseq_1.fastq.gz --right_fq rnaseq_2.fastq.gz --genome_lib_dir ctat_genome_lib_build_dir --vis --include_Trinity --examine_coding_effect
TrinityFusion: build_genome_lib STAR_FUSION
../TrinityFusion/TrinityFusion --left_fq rnaseq_1.fastq.gz --right_fq rnaseq_2.fastq.gz --chimeric_junctions STAR-Fusion_outdir/Chimeric.out.junction --aligned_bam STAR-Fusion_outdir/Aligned.out.bam --genome_lib_dir ctat_genome_lib_build_dir --output_dir trinity_fusion
TrinityFusionDocker: build_genome_lib STAR_FUSION
docker run --rm -it -v `pwd`:`pwd` trinityctat/trinityfusion:latest /usr/local/src/TrinityFusion/TrinityFusion --left_fq `pwd`/rnaseq_1.fastq.gz --right_fq `pwd`/rnaseq_2.fastq.gz --chimeric_junctions `pwd`/STAR-Fusion_outdir/Chimeric.out.junction --aligned_bam `pwd`/STAR-Fusion_outdir/Aligned.out.bam --genome_lib_dir `pwd`/ctat_genome_lib_build_dir --output_dir `pwd`/docker_trinity_fusion
clean:
rm -rf ./STAR-Fusion_outdir
rm -rf ./__loc_chkpts
rm -f ./ref_annot.cdsplus*
rm -f ./ref_annot.cdna*
rm -f ./pipeliner*
rm -f ./Log.out
rm -rf ./FI
rm -f ./STAR_FUSION
rm -rf ./trinity_fusion
rm -rf ./docker_trinity_fusion # likely requires 'sudo make clean'
purge: clean
rm -rf ./ctat_genome_lib_build_dir
rm -f ./build_genome_lib