File: reproducible-sample_data.patch

package info (click to toggle)
transdecoder 3.0.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 11,356 kB
  • ctags: 274
  • sloc: perl: 5,454; sh: 81; makefile: 51
file content (16 lines) | stat: -rw-r--r-- 825 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Make the sample data reproducible
 Set a fixed hash seed for Perl before generating sample_data/transcripts.fasta
 to get reproducible results
Author: Eduard Sanou <dhole@openmailbox.org>
Forwarded: https://github.com/TransDecoder/TransDecoder/pull/20
--- transdecoder.orig/sample_data/cufflinks_example/runMe.sh
+++ transdecoder/sample_data/cufflinks_example/runMe.sh
@@ -24,7 +24,7 @@
 ../../util/cufflinks_gtf_to_alignment_gff3.pl transcripts.gtf > transcripts.gff3
 
 ## generate transcripts fasta file
-../../util/cufflinks_gtf_genome_to_cdna_fasta.pl transcripts.gtf test.genome.fasta > transcripts.fasta 
+PERL_HASH_SEED=0 ../../util/cufflinks_gtf_genome_to_cdna_fasta.pl transcripts.gtf test.genome.fasta > transcripts.fasta 
 
 ## Extract the long ORFs
 ../../TransDecoder.LongOrfs -t transcripts.fasta