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

Update readme #22

Merged
merged 4 commits into from
Nov 27, 2024
Merged

Update readme #22

merged 4 commits into from
Nov 27, 2024

Conversation

jethror1
Copy link
Contributor

@jethror1 jethror1 commented Nov 27, 2024

  • add example command for setting bam/bai input using dx find data with dx-toolkit > 0.387.0
    • this will be possible once v0.387.0 release is created with regex searching being added in this PR

This change is Reviewable

@jethror1 jethror1 requested a review from chrispyatt November 27, 2024 14:41
Copy link

coderabbitai bot commented Nov 27, 2024

Walkthrough

Ah, listen up, my culinary comrades! The latest updates to the README.md for the GATK Germline CNV Caller application are like a well-prepared soufflé—light, airy, and oh-so-important! We’ve added new instructions for using the dx command-line tool to locate data objects, tailored for both toolkit versions below and above v0.386.0. The documentation has been refined for better structure and readability, ensuring users can whip up the necessary steps with ease. While the output section remains mostly intact, it’s been polished for consistency. Let’s get cooking!

Changes

File Change Summary
README.md Updated with instructions for using dx command-line tool for different toolkit versions; improved structure and readability; minor formatting adjustments; retained notes on parameters for coverage calculation and filtering.

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant GATK
    participant DXTool

    User->>DXTool: Request data object
    DXTool-->>User: Provide data object based on version
    User->>GATK: Input data for CNV calling
    GATK-->>User: Return results
Loading

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

📜 Review details

Configuration used: CodeRabbit UI
Review profile: ASSERTIVE

📥 Commits

Reviewing files that changed from the base of the PR and between 70a44b0 and db2d5e2.

📒 Files selected for processing (1)
  • README.md (1 hunks)
🔇 Additional comments (1)
README.md (1)

68-73: Magnifique! The version-specific command examples are perfectly seasoned!

Ah, mes amis! The separation of commands by toolkit version is chef's kiss - absolutely brilliant! The clear labelling of version constraints (< v0.386.0 and >= v0.387.0) helps users pick the right recipe for their kitchen setup.

Comment on lines +68 to +73
> *dx-toolkit < v0.386.0*
>
> `$ dx find data --path project:folder --name ".*bam$|.*bai$" --name_mode "regexp" --json | jq -r '.[].id' | sed 's/^/-ibambais=/g'`
>
> *dx-toolkit >= v0.387.0*
>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick (assertive)

Consider adding a note about command output format consistency

Listen carefully, mon petit chou! While both commands produce the same delightful output, it would be très bon to add a small note confirming that both commands will generate identical output format. Just like ensuring your soufflé rises the same way every time!

 *dx-toolkit >= v0.387.0*

+Note: Both commands generate identical output format suitable for the -ibambais parameter.
+
 where `<project>` and `<folder>` are the project and path to the bam files, respectively.
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
> *dx-toolkit < v0.386.0*
>
> `$ dx find data --path project:folder --name ".*bam$|.*bai$" --name_mode "regexp" --json | jq -r '.[].id' | sed 's/^/-ibambais=/g'`
>
> *dx-toolkit >= v0.387.0*
>
> *dx-toolkit < v0.386.0*
>
> `$ dx find data --path project:folder --name ".*bam$|.*bai$" --name_mode "regexp" --json | jq -r '.[].id' | sed 's/^/-ibambais=/g'`
>
> *dx-toolkit >= v0.387.0*
>
Note: Both commands generate identical output format suitable for the -ibambais parameter.

💡 Codebase verification

Attention! This recipe needs a cautionary note, mes amis!

The documentation shows two different command styles for dx-toolkit versions, but like a soufflé without proper instructions, it's missing the crucial details! The newer version (>=v0.387.0) appears to be missing its command example entirely, leaving our users hanging mid-recipe!

  • The README shows a command for dx-toolkit < v0.386.0
  • The section for dx-toolkit >= v0.387.0 is empty, with only a note about project and folder parameters
  • There's an alternative dx api command shown, but without version context

Like any good recipe, we must ensure completeness and clarity. This documentation needs the complete command for the newer version to ensure our users can execute their tasks perfectly, regardless of their dx-toolkit version.

🔗 Analysis chain

Verify the command compatibility across dx-toolkit versions

Mon dieu! We must ensure our recipe works perfectly across all kitchens! Let's verify these commands work as documented for the specified versions.


Let me explain, mon ami! Like checking if we have all ingredients before starting our recipe, we need to find any documentation about these version changes. We'll search for version notes, configuration files, and any documentation that might explain the difference between these commands. This will help us ensure our recipe is perfectly seasoned for all versions!

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify dx-toolkit version-specific commands

# Check if README mentions all supported dx-toolkit versions
rg -A 2 "dx-toolkit.*v0\." README.md

# Look for any other dx command examples that might need version-specific variants
rg "dx\s+(api|find|run|select|upload)" README.md

Length of output: 736


Script:

#!/bin/bash
# Let's check if there's any documentation or changelog about the dx-toolkit version changes
rg -i "version|changelog|release" README.md

# Search for any dx API documentation files that might explain the changes
fd -t f -e md -e txt . | xargs rg -l "dx-toolkit|dx api|dx find"

# Look for any configuration files that might specify dx-toolkit version requirements
fd "package|requirements|setup|config" -e json -e txt -e yml -e yaml | xargs cat

Length of output: 205

Copy link
Contributor

@chrispyatt chrispyatt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 1 of 1 files at r1, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @jethror1)

@chrispyatt chrispyatt merged commit eb2a508 into main Nov 27, 2024
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants