-
Notifications
You must be signed in to change notification settings - Fork 440
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
Fastp - Format_source to ensure WF usability and remove non-sanger input formats #6499
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
|
@@ -61,11 +61,28 @@ | |
</xml> | ||
|
||
<xml name="in" token_read_number="1" token_argument="-i"> | ||
<param name="in@READ_NUMBER@" argument="@ARGUMENT@" type="data" format="fastqsanger,fastqsanger.gz,fastqillumina,fastqillumina.gz" label="Input @READ_NUMBER@" help="Input FASTQ file #@READ_NUMBER@"/> | ||
<param name="in@READ_NUMBER@" argument="@ARGUMENT@" type="data" format="fastqsanger,fastqsanger.gz" label="Input @READ_NUMBER@" help="Input FASTQ file #@READ_NUMBER@"/> | ||
</xml> | ||
|
||
<xml name="poly_g_min_len"> | ||
<param argument="--poly_g_min_len" type="integer" optional="true" label="PolyG minimum length" | ||
help="The minimum length to detect polyG in the read tail. 10 by default."/> | ||
</xml> | ||
</macros> | ||
|
||
<xml name="format_actions" token_read_number="1" token_forward_reverse="forward"> | ||
<actions> | ||
<conditional name="single_paired.single_paired_selector"> | ||
<when value="paired"> | ||
<action type="format"> | ||
<option type="from_param" name="single_paired.in@READ_NUMBER@" param_attribute="ext" /> | ||
</action> | ||
</when> | ||
<when value="paired_collection"> | ||
<action type="format"> | ||
<option type="from_param" name="single_paired.paired_input" param_attribute="@[email protected]" /> | ||
</action> | ||
</when> | ||
</conditional> | ||
</actions> | ||
</xml> | ||
</macros> |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does fastp compress the output if the input is compressed ?
I would assume all output is uncompressed ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The tool itself produces a compressed output if the output name has the ext .gz regardless whether the input is compressed or not.
Actually i had it this way at the beginning, but changed to format_source to be able to connect the output to fastqsanger.gz inputs..