cbirdlab / dDocentHPC

hard fork of dDocent, edited to run without interactive user input
2 stars 5 forks source link

awk statement to filter out rbdiv.$CUTOFFS.out faster than grep #11

Closed ericgarciaresearch closed 3 years ago

ericgarciaresearch commented 3 years ago

dDocentHPC.bash: line 1347 Replace: grep -f rbdiv.$CUTOFFS.readsPERprecluster.filtered rbdiv.$CUTOFFS.out > rbdiv.$CUTOFFS.out.filtered with: awk -F'\t' 'NR==FNR{c[$5]++;next};c[$5]' rbdiv.$CUTOFFS.readsPERprecluster.filtered rbdiv.$CUTOFFS.out > rbdiv.$CUTOFFS.out.filtered

cbird808 commented 3 years ago

I made this change, thank you!