Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Combine count_presence and count_abundance #14

Open
pommevilla opened this issue Nov 17, 2019 · 0 comments
Open

Combine count_presence and count_abundance #14

pommevilla opened this issue Nov 17, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@pommevilla
Copy link
Owner

join -j 1 -t ' ' <(count_presence $input_dir | sort -k 1) <(count_abundance $input_dir | sort -k 1) > "$shortdir.summary.tsv"

count_presence and count_abundance can be combined into a single function that summarizes the presence and abundance of the genes within a directory in a single pass.

Tasks

  • Write new function summarize_results_directory that combines count_presence and count_abundance. The quoted line above should look like:
    summarize_results_directory $input_dir > "shortdir.summary.tsv"

Affected files

  • mfpcount, in the line quoted at the top
  • count_presence and count_abundance will be replaced with the new summarize_directory
@pommevilla pommevilla added the enhancement New feature or request label Nov 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant