# HG changeset patch # User eskirton@lbl.gov # Date 1324525373 28800 # Node ID bf1f8bc4abe6e7c128ddfc54cf5664d7fab4bdc5 # Parent 2d86d5b112e89117f5bda7a7df0f784a157b278d minor updates for v2.6 diff -r 2d86d5b112e8 -r bf1f8bc4abe6 runAssembly.xml --- a/runAssembly.xml Thu Jul 14 22:14:07 2011 -0400 +++ b/runAssembly.xml Wed Dec 21 19:42:53 2011 -0800 @@ -1,6 +1,6 @@ - + De novo assembly of Roche/454 reads using Newbler -runAssembly_wrapper.pl +runAssembly_wrapper.pl $newbler_metrics.extra_files_path $newbler_metrics $read_status @@ -17,11 +17,13 @@ $scaffolds_fasta $scaffolds_qual $scaffolds_agp +$contig_scaffolds_agp $tag_pair_align $trim_status $large_contigs_fasta $large_contigs_qual -$newbler_exe -o $newbler_metrics.extra_files_path +runAssembly +-o $newbler_metrics.extra_files_path -cpu 8 $rip -e $e @@ -63,137 +65,135 @@ #end for - - - - - - - - - + + - - + + - - - + + + - - - + + + - + - - - - - + + + + + - - - - - + + + + + - - + + - - - - - - + + + + + + - - + + + - - - + + + - - - - - - + + + + + + - - - - + + + + - - - - tr == '-tr' + + + + tr == "-tr" - - tr == '-tr' + + tr == "-tr" - - - no != '-no' + + + no != "-no" - - no != '-no' + + no != "-no" - - no != '-no' + + no != "-no" - - ace == '-ace' and no != '-no' + + ace == "-ace" and no != "-no" - - ace == '-ace -consed' and no != '-no' + + ace == "-ace -consed" and no != "-no" - - - no != '-no' + + + no != "-no" - - no != '-no' + + no != "-no" - - pair == '-pair' and no != '-no' + + pair == "-pair" and no != "-no" - - paired_reads == 'true' and no != '-no' + + paired_reads == "true" and no != "-no" - - paired_reads == 'true' and no != '-no' + + paired_reads == "true" and no != "-no" - - paired_reads == 'true' and no != '-no' + + paired_reads == "true" and no != "-no" - - paired_reads == 'true' and no != '-no' + + paired_reads == "true" and no != "-no" - - pair == '-pair' and paired_reads == 'true' and no != '-no' + + scaffold is True - + + pair == "-pair" and paired_reads == "true" and no != "-no" + + diff -r 2d86d5b112e8 -r bf1f8bc4abe6 runAssembly_cDNA.xml --- a/runAssembly_cDNA.xml Thu Jul 14 22:14:07 2011 -0400 +++ b/runAssembly_cDNA.xml Wed Dec 21 19:42:53 2011 -0800 @@ -1,4 +1,4 @@ - + De novo assembly of Roche/454 cDNA reads using Newbler runAssembly_cDNA_wrapper.pl $newbler_metrics.extra_files_path @@ -17,6 +17,7 @@ $scaffolds_fasta $scaffolds_qual $scaffolds_agp +$contig_scaffolds_agp $tag_pair_align $trim_status $isotigs_ace @@ -24,7 +25,8 @@ $isotigs_qual $isotigs_agp $isotigs_layout -$newbler_exe -o $newbler_metrics.extra_files_path +runAssembly +-o $newbler_metrics.extra_files_path -cpu 8 $rip -e $e @@ -70,149 +72,147 @@ #end for - - - - - - - - - + + - - + + - - - + + + - - - + + + - - - - + + + + - - - - - + + + + + - - - - - + + + + + - - + + - - - - - - + + + + + + - - + + + - - - + + + - - - - - - + + + + + + - - - - + + + + - - - - tr == '-tr' + + + + tr == "-tr" - - tr == '-tr' + + tr == "-tr" - - - no != '-no' + + + no != "-no" - - no != '-no' + + no != "-no" - - no != '-no' + + no != "-no" - - ace == '-ace' and no != '-no' + + ace == "-ace" and no != "-no" - - ace == '-ace -consed' and no != '-no' + + ace == "-ace -consed" and no != "-no" - - - pair == '-pair' and no != '-no' + + + pair == "-pair" and no != "-no" - - paired_reads == 'true' and no != '-no' + + paired_reads == "true" and no != "-no" - - paired_reads == 'true' and no != '-no' + + paired_reads == "true" and no != "-no" + + + paired_reads == "true" and no != "-no" - - paired_reads == 'true' and no != '-no' + + paired_reads == "true" and no != "-no" - - paired_reads == 'true' and no != '-no' + + scaffold is True - - pair == '-pair' and paired_reads == 'true' and no != '-no' + + pair == "-pair" and paired_reads == "true" and no != "-no" - + - - ace != '' and no != '-no' + + ace != "" and no != "-no" - - no != '-no' + + no != "-no" - - no != '-no' + + no != "-no" - - no != '-no' + + no != "-no" - - no != '-no' + + no != "-no" diff -r 2d86d5b112e8 -r bf1f8bc4abe6 runAssembly_cDNA_wrapper.pl --- a/runAssembly_cDNA_wrapper.pl Thu Jul 14 22:14:07 2011 -0400 +++ b/runAssembly_cDNA_wrapper.pl Wed Dec 21 19:42:53 2011 -0800 @@ -22,6 +22,7 @@ my $scaffolds_fasta=shift @ARGV; my $scaffolds_qual=shift @ARGV; my $scaffolds_agp=shift @ARGV; +my $contig_scaffolds_agp=shift @ARGV; my $tag_pair_align=shift @ARGV; my $trim_status=shift @ARGV; my $isotigs_ace=shift @ARGV; @@ -35,9 +36,8 @@ my @cmd=removeUnusedOptions(@ARGV); # RUN COMMAND -# NOTE: FIRST ARG EXPECTED TO BE EXECUTABLE my $stderr; -eval { $stderr=`@cmd 2>&1`; }; +eval { $stderr=`runAssembly @cmd 2>&1`; }; if ( $@ ) { print STDERR "Newbler ERROR: $stderr\n"; `cat $outdir/assembly/454NewblerProgress.txt 1>&2`; @@ -59,6 +59,7 @@ get_outfile("$outdir/454Scaffolds.fna", $scaffolds_fasta); get_outfile("$outdir/454Scaffolds.qual", $scaffolds_qual); get_outfile("$outdir/454Scaffolds.txt", $scaffolds_agp); +get_outfile("$outdir/454ContigScaffolds.txt", $contig_scaffolds_agp); get_outfile("$outdir/454TagPairAlign.txt", $tag_pair_align); get_outfile("$outdir/454TrimStatus.txt", $trim_status); get_outfile("$outdir/454Isotigs.ace", $isotigs_ace); diff -r 2d86d5b112e8 -r bf1f8bc4abe6 runAssembly_wrapper.pl --- a/runAssembly_wrapper.pl Thu Jul 14 22:14:07 2011 -0400 +++ b/runAssembly_wrapper.pl Wed Dec 21 19:42:53 2011 -0800 @@ -22,6 +22,7 @@ my $scaffolds_fasta=shift @ARGV; my $scaffolds_qual=shift @ARGV; my $scaffolds_agp=shift @ARGV; +my $contig_scaffolds_agp=shift @ARGV; my $tag_pair_align=shift @ARGV; my $trim_status=shift @ARGV; my $large_contigs_fasta=shift @ARGV; @@ -32,9 +33,8 @@ my @cmd=removeUnusedOptions(@ARGV); # RUN COMMAND -# NOTE: FIRST ARG EXPECTED TO BE EXECUTABLE my $stderr; -eval { $stderr=`@cmd 2>&1`; }; +eval { $stderr=`runAssembly @cmd 2>&1`; }; if ( $@ ) { print STDERR "Newbler ERROR: $stderr\n"; `cat $outdir/assembly/454NewblerProgress.txt 1>&2`; @@ -56,6 +56,7 @@ get_outfile("$outdir/454Scaffolds.fna", $scaffolds_fasta); get_outfile("$outdir/454Scaffolds.qual", $scaffolds_qual); get_outfile("$outdir/454Scaffolds.txt", $scaffolds_agp); +get_outfile("$outdir/454ContigScaffolds.txt", $contig_scaffolds_agp); get_outfile("$outdir/454TagPairAlign.txt", $tag_pair_align); get_outfile("$outdir/454TrimStatus.txt", $trim_status); get_outfile("$outdir/454LargeContigs.fna", $large_contigs_fasta); diff -r 2d86d5b112e8 -r bf1f8bc4abe6 runMapping.xml --- a/runMapping.xml Thu Jul 14 22:14:07 2011 -0400 +++ b/runMapping.xml Wed Dec 21 19:42:53 2011 -0800 @@ -1,4 +1,4 @@ - + Map Roche/454 reads to a reference using Newbler runMapping_wrapper.pl $newbler_metrics.extra_files_path @@ -19,10 +19,12 @@ $trimmed_reads_fasta $trimmed_reads_qual $contigs_ace +$contigs_bam $large_contigs_fasta $large_contigs_qual $gene_status -$newbler_exe -o $newbler_metrics.extra_files_path +runAssembly +-o $newbler_metrics.extra_files_path -cpu 8 -a $a -e $e @@ -34,6 +36,7 @@ $notrim $tr $ace +$bam $no $qo $nor @@ -70,155 +73,152 @@ #end for - - - - - - - - - + + - - + + - - - + + + - - - + + + - + - - + + - - - + + + - - - + + + - - - - - + + + + + - - - - - + + + + + - - + + - - - - - - + + + + + + - + - - - + + + - - - - - + + + + + - - - + + + + - - - - tr == '-tr' + + + + tr == "-tr" - - tr == '-tr' + + tr == "-tr" - - - - no != '-no' + + + + no != "-no" - - no != '-no' + + no != "-no" - - ace == '-ace' and no != '-no' + + ace == "-ace" and no != "-no" - - no != '-no' + + bam is True and no != "-no" - - no != '-no' + + no != "-no" + + + no != "-no" - - pair == '-pair' and no != '-no' + + pair == "-pair" and no != "-no" - - paired_reads == 'true' and no != '-no' + + paired_reads == "true" and no != "-no" - - paired_reads == 'true' and no != '-no' + + paired_reads == "true" and no != "-no" - - paired_reads == 'true' and no != '-no' + + paired_reads == "true" and no != "-no" - - paired_reads == 'true' and no != '-no' + + paired_reads == "true" and no != "-no" - - pair == '-pair' and paired_reads == 'true' and no != '-no' + + pair == "-pair" and paired_reads == "true" and no != "-no" - + - - - - - - - + + + + + + + diff -r 2d86d5b112e8 -r bf1f8bc4abe6 runMapping_cDNA.xml --- a/runMapping_cDNA.xml Thu Jul 14 22:14:07 2011 -0400 +++ b/runMapping_cDNA.xml Wed Dec 21 19:42:53 2011 -0800 @@ -1,4 +1,4 @@ - + Map Roche/454 reads to a reference using Newbler runMapping_cDNA_wrapper.pl $newbler_metrics.extra_files_path @@ -25,7 +25,8 @@ $isotigs_qual $isotigs_agp $isotigs_layout -$newbler_exe -o $newbler_metrics.extra_files_path +runAssembly +-o $newbler_metrics.extra_files_path -cpu 8 -a $a -e $e @@ -78,167 +79,160 @@ #end for - - - - - - - - - + + - - + + - - - + + + - - - + + + - - - - + + + + - - + + - - - + + + - - - + + + - - - - - + + + + + - - - - - + + + + + - - + + - - - - - - + + + + + + - + - - - + + + - - - - - + + + + + - - - + + + - - - - tr == '-tr' + + + + tr == "-tr" - - tr == '-tr' + + tr == "-tr" - - - - no != '-no' + + + + no != "-no" - - no != '-no' + + no != "-no" - - ace == '-ace' and no != '-no' + + ace == "-ace" and no != "-no" - - pair == '-pair' and no != '-no' + + pair == "-pair" and no != "-no" - - paired_reads == 'true' and no != '-no' + + paired_reads == "true" and no != "-no" - - paired_reads == 'true' and no != '-no' + + paired_reads == "true" and no != "-no" - - paired_reads == 'true' and no != '-no' + + paired_reads == "true" and no != "-no" - - paired_reads == 'true' and no != '-no' + + paired_reads == "true" and no != "-no" - - pair == '-pair' and paired_reads == 'true' and no != '-no' + + pair == "-pair" and paired_reads == "true" and no != "-no" - + - - - - - - - + + + + + + + - - ace != '' and no != '-no' + + ace != "" and no != "-no" - - no != '-no' + + no != "-no" - - no != '-no' + + no != "-no" - - no != '-no' + + no != "-no" - - no != '-no' + + no != "-no" diff -r 2d86d5b112e8 -r bf1f8bc4abe6 runMapping_cDNA_wrapper.pl --- a/runMapping_cDNA_wrapper.pl Thu Jul 14 22:14:07 2011 -0400 +++ b/runMapping_cDNA_wrapper.pl Wed Dec 21 19:42:53 2011 -0800 @@ -36,9 +36,8 @@ my @cmd=removeUnusedOptions(@ARGV); # RUN COMMAND -# NOTE: FIRST ARG EXPECTED TO BE EXECUTABLE my $stderr; -eval { $stderr=`@cmd 2>&1`; }; +eval { $stderr=`runMapping @cmd 2>&1`; }; if ( $@ ) { print STDERR "Newbler ERROR: $stderr\n"; `cat $outdir/assembly/454NewblerProgress.txt 1>&2`; diff -r 2d86d5b112e8 -r bf1f8bc4abe6 runMapping_wrapper.pl --- a/runMapping_wrapper.pl Thu Jul 14 22:14:07 2011 -0400 +++ b/runMapping_wrapper.pl Wed Dec 21 19:42:53 2011 -0800 @@ -23,6 +23,7 @@ my $trimmed_reads_fasta=shift @ARGV; my $trimmed_reads_qual=shift @ARGV; my $contigs_ace=shift @ARGV; +my $contigs_bam=shift @ARGV; my $large_contigs_fasta=shift @ARGV; my $large_contigs_qual=shift @ARGV; my $gene_status=shift @ARGV; @@ -32,9 +33,8 @@ my @cmd=removeUnusedOptions(@ARGV); # RUN COMMAND -# NOTE: FIRST ARG EXPECTED TO BE EXECUTABLE my $stderr; -eval { $stderr=`@cmd 2>&1`; }; +eval { $stderr=`runMapping @cmd 2>&1`; }; if ( $@ ) { print STDERR "Newbler ERROR: $stderr\n"; `cat $outdir/assembly/454NewblerProgress.txt 1>&2`; @@ -58,6 +58,7 @@ get_outfile("$outdir/454TrimmedReads.fna", $trimmed_reads_fasta); get_outfile("$outdir/454TrimmedReads.qual", $trimmed_reads_qual); get_outfile("$outdir/454Contigs.ace", $contigs_ace); +get_outfile("$outdir/454Contigs.bam", $contigs_bam); get_outfile("$outdir/454LargeContigs.fna", $large_contigs_fasta); get_outfile("$outdir/454LargeContigs.qual", $large_contigs_qual); get_outfile("$outdir/454GeneStatus.txt", $gene_status);