forked from pinellolab/CRISPResso2
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from edilytics/pooled_mixed_changes
Pooled mixed changes
- Loading branch information
Showing
2 changed files
with
21 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -397,7 +397,10 @@ def propagate_crispresso_options(cmd, options, params, paramInd=None): | |
if option: | ||
if option in params: | ||
if paramInd is None: | ||
val = getattr(params, option) | ||
if type(params) == dict: | ||
val = params[option] | ||
else: | ||
val = getattr(params, option) | ||
else: | ||
val = params.loc[paramInd, option] | ||
if val is None: | ||
|
@@ -1672,7 +1675,7 @@ def get_crispresso_header(description, header_str): | |
term_width) + "\n" + output_line | ||
|
||
output_line += '\n' + ('[CRISPResso version ' + __version__ + ']').center(term_width) + '\n' + ( | ||
'[Note that starting in version 2.3.0 FLASh and Trimmomatic will be replaced by fastp for read merging and trimming. Accordingly, the --flash_command and --trimmomatic_command parameters will be replaced with --fastp_command. Also, --trimmomatic_options_string will be replaced with --fastp_options_string.]').center( | ||
'[Note that starting in version 2.3.0 FLASh and Trimmomatic will be replaced by fastp for read merging and trimming. Accordingly, the --flash_command and --trimmomatic_command parameters will be replaced with --fastp_command. Also, --trimmomatic_options_string will be replaced with --fastp_options_string.\n\nAlso in version 2.3.0, when running CRISPRessoPooled in mixed-mode (amplicon file and genome are provided) the default behavior will be as if the --demultiplex_only_at_amplicons parameter is provided. This change means that reads and amplicons do not need to align to the exact locations.]').center( | ||
term_width) + "\n" + ('[For support contact [email protected] or [email protected]]').center(term_width) + "\n" | ||
|
||
description_str = "" | ||
|