File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -234,6 +234,11 @@ sub usage_page {
234234if ($verbose ) {
235235 print " \n\t nz: Non-zero\n " ;
236236}
237- print " \n\n Ancestry predictions available in:\n $out \n\n " ;
237+ print " \n\n Ancestry predictions available in:\n $out \n " ;
238+
239+ if ($tile_resolution ) {
240+ print $f . " _ancestry-predictions-tile-resolution_tile$dw .tsv\n " ;
241+ }
242+ print " \n " ;
238243
239244exit (0);
Original file line number Diff line number Diff line change @@ -100,8 +100,11 @@ rule samtools_faidx:
100100 output : out_fai = f"{ draft_base } .fai"
101101 params :
102102 benchmark = f"{ time_command } samtools_faidx_{ draft_base } .time"
103- shell :
104- "{params.benchmark} samtools faidx -o {output.out_fai} {input.reference}"
103+ run :
104+ if input .reference .endswith (".gz" ):
105+ shell ("{params.benchmark} gunzip -c {input.reference} |samtools faidx -o {output.out_fai} -" )
106+ else :
107+ shell ("{params.benchmark} samtools faidx -o {output.out_fai} {input.reference}" )
105108
106109rule ancestry_prediction :
107110 input :
You can’t perform that action at this time.
0 commit comments