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

Responding to Feedback #237

Merged
merged 6 commits into from
Apr 18, 2023

Conversation

ConnorChato
Copy link
Collaborator

@ConnorChato ConnorChato commented Mar 23, 2023

  • The sparepeates need to be downloaded from source instead of manually inputted by user.
  • The output needs to be adjusted to show a more complete table. This table needs to be collapsable through galaxy's running of multiple separate inputs

@ConnorChato ConnorChato linked an issue Mar 23, 2023 that may be closed by this pull request
@ConnorChato ConnorChato marked this pull request as draft March 23, 2023 17:45
@ConnorChato ConnorChato marked this pull request as ready for review March 24, 2023 00:57
Copy link
Member

@apetkau apetkau left a comment

Choose a reason for hiding this comment

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

Thanks so much @ConnorChato , this looks amazing. It's great to be able to remove that parameter requiring someone to pass in the repeats. Two comments I have:

  1. Could you update the galaxyN version part from galaxy0 to galaxy1, since you are modifying the behavior of the wrapper?
  2. Do you know how the tool works when you don't pass the repeats file? I have a suspicion that it will automatically download this file each time. Could this cause conflicts when multiple instances of this tool are run at the same time? As an example, is it storing the repeats fasta file in a fixed location (where multiple running instances could overwrite each others files)? Or is this fasta file stored in a unique location for every run of the tool?

@ConnorChato
Copy link
Collaborator Author

ConnorChato commented Apr 18, 2023

Thanks so much @ConnorChato , this looks amazing. It's great to be able to remove that parameter requiring someone to pass in the repeats. Two comments I have:

  1. Could you update the galaxyN version part from galaxy0 to galaxy1, since you are modifying the behavior of the wrapper?
  2. Do you know how the tool works when you don't pass the repeats file? I have a suspicion that it will automatically download this file each time. Could this cause conflicts when multiple instances of this tool are run at the same time? As an example, is it storing the repeats fasta file in a fixed location (where multiple running instances could overwrite each others files)? Or is this fasta file stored in a unique location for every run of the tool?
  1. Updated! Thanks for catching
  2. I think we should be okay for held files. When I've tested with CL, if you explicitly pass blanks to -r and -o, it should check the status and past download times of current files to avoid this issue. I've updated the command so that it ensures this download-checking behavior.
Start the identification of repeats in Spa protein:
+ Check or download repeats fasta file in folder:  /home/connor/anaconda3/bin
        A previous download created sparepeats.fasta on: 2023-04-18 15:55:46
+ Check or download repeats types file in folder:  /home/connor/anaconda3/bin
        A previous download created spatypes.txt on: 2023-04-18 15:55:59

@ConnorChato
Copy link
Collaborator Author

Tried forcing the blanks into -r and -o and it caused errors, so it looks like defaults will have to do for now. Should behave the same way anyway.

Copy link
Member

@apetkau apetkau left a comment

Choose a reason for hiding this comment

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

Okay. This all looks good for me. Thanks so much.

@apetkau apetkau merged commit f3fb360 into master Apr 18, 2023
@apetkau apetkau deleted the 236-updates-to-spatyper-based-on-user-feedback branch April 18, 2023 22:52
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.

Updates to spatyper based on user feedback
2 participants