Skip to content

Commit

Permalink
added specific TODOs, example command line
Browse files Browse the repository at this point in the history
  • Loading branch information
subwaystation committed Mar 12, 2021
1 parent 2778580 commit 49b477c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion pgge
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ seq_length=false
step=false
beehave_R=false
peanut_bed=false
ratio_subset=1.0 # TODO subsample_percentage -> -p,--subsample-percentage [N]
num_subset=false # TODO subsample_number -> -u,--subsample-number [n]
threads=1

num_gfas=0
Expand Down Expand Up @@ -49,6 +51,8 @@ while true ; do
esac
done

# TODO Both subsample options can't be set at the same time

if [[
$input_gaf == false
]];
Expand Down Expand Up @@ -151,7 +155,7 @@ param_file=$output_dir/$prefix_pgge.$date.params.yml
prefix_pgge="$output_dir"/$prefix_pgge

fmt="%C\n%Us user %Ss system %P cpu %es total %MKb max memory"
timer=/usr/bin/time
timer=time

# write parameters to log_file:
echo -e "Starting pgge on `date`\n" > "$log_file"
Expand Down Expand Up @@ -257,6 +261,11 @@ then
done 2> >(tee -a "$log_file")
fi

# TODO
# only take a subset of the reads using shuf
# shuf -n $(( 112*20/100 )) cerevisiae.pan.fa.fai


for gfa in $input_gfa
do
gfa_base="$(basename -- "$gfa")"
Expand Down

0 comments on commit 49b477c

Please sign in to comment.