tophat -G genes.gtf <index> sample1_1.fq sample1_2.fq tophat -G genes.gtf <index> sample2_1.fq sample2_2.fq
cufflinks sample1/accepted_hits.bam cufflinks sample2/accepted_hits.bam
cat << EOF > assemblies.txt >sample1/transcript.gtf >sample2/transcript.gtf >EOF
cuffmerge -g genes.gtf -s genome.fa assemblies.txt
cuffdiff merged.gtf sample1/accepted_hits.bam sample2/accepted_hits.bam
Open the web serve at , the passwd is
The result can be downloaded and viewed in ***
in the shell, type: 'cd ~/new2/RNAseq/trim'
"-N 8 \ --read-gap-length 8 \ --read-edit-dist 8 \" are generally called mismatch, this means the mismatch for the mapping is 8. Using this parameter, we can only find 69% JU1421 reads are mapped.
tophat2 -p 15 -i 20 -I 5000 -g 10 \ -N 8 \ --read-gap-length 8 \ --read-edit-dist 8 \ -o ./tophat_out/JU1421-1 \ -G ../genome/GENES.gff3 \ ../genome/cb4_ws242 \ JU1421-1_S1_L001_R1_001_trimpair.fastq.gz,JU1421-1_S1_L001_R2_001_trimpair.fastq.gz\
All reads should be mapped using the same parameters. For AF16, the example is:
tophat2 -p 15 -i 20 -I 5000 -g 10 \ -N 8 \ --read-gap-length 8 \ --read-edit-dist 8 \ -o ./tophat_out/AF16-1 \ -G ../genome/GENES.gff3 \ ../genome/cb4_ws242 \ AF16-1_S1_L001_R1_001_trimpair.fastq.gz,AF16-1_S1_L001_R2_001_trimpair.fastq.gz\
cufflinks -p 8 -o ./tophat_out/JU1421-1 ./tophat_out/JU1421-1/accepted_hits.bam cufflinks -p 8 -o ./tophat_out/JU1421-2 ./tophat_out/JU1421-2/accepted_hits.bam cufflinks -p 8 -o ./tophat_out/JU1421-3 ./tophat_out/JU1421-3/accepted_hits.bam cufflinks -p 8 -o ./tophat_out/AF16-1 ./tophat_out/AF16-1/accepted_hits.bam cufflinks -p 8 -o ./tophat_out/AF16-2 ./tophat_out/AF16-2/accepted_hits.bam cufflinks -p 8 -o ./tophat_out/AF16-3 ./tophat_out/AF16-3/accepted_hits.bam
cat << EOF > assemblies.txt >JU1421-1/transcript.gtf >JU1421-2/transcript.gtf >JU1421-3/transcript.gtf >AF16-1/transcript.gtf >AF16-2/transcript.gtf >AF16-3/transcript.gtf >EOF
cuffmerge -g ../genome/GENES.gff3 -s ../genome/cb4_ws242.fa assemblies.txt
cuffdiff -p 8 merged.gtf –L JU1421,AF16\ ./JU1421-1/accepted_hits.bam,\ ./JU1421-2/accepted_hits.bam,\ ./JU1421-3/accepted_hits.bam \ ./AF16-1/accepted_hits.bam,\ ./AF16-2/accepted_hits.bam,\ ./AF16-3/accepted_hits.bam \