-
Notifications
You must be signed in to change notification settings - Fork 590
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
Input and Output Arguments #141
Comments
Yes, I think it is what we want. It would be consistent with the GNU standards. https://www.gnu.org/prep/standards/html_node/Command_002dLine-Interfaces.html By "ordinary arguments" they mean what you name "standard arguments". |
Adds a new tool to annotate targets with target specificy properties. This addresses issues #141 and #142. The first two annotations supported are * GC_CONTENT = Fraction of GC / Total number of sense bases in the target reference sequence. - The user need to provide a reference. * REPEAT_FRACTION = Fraction of base in the target masked as repeated somewhere else in the referece. - The user need to provide a BED file (indexed) with the repeated regions. Annotations whose dependence is not provided won't be present in the output. Syntax: java -jar hellbender-all.jar AnnotateTargets -R my-reference.fasta --repeats my-repeated-regions.bed -T targets.tab -o annotated-targets.tab The output file will contain additional columns, one for each annotation with the corresponding value per each target in the input. Other changes: * Fixed an issue with progressMeter not being updated in the FeatureWalker. * Changed TargetColumn enum name to TargetTableColumn. * Added a TargeTableWriter analogous to the TargetTableReader. * Target now has a reference to an annotation collection. * TargetTableReader automatically will read in annotation present in the input target table.
We've talked about adding
@Input
and@Output
annotations.My understanding of the mechanics of this is as such:
Rename
@PositionalArguments
toInput
A traversal will specify one Collection as the
@Input
for example, aReadWalker
will accept 1 or more Bams specified on the command line. How these are presented to the apply function is up to the traversal. In the case of read walkers they are likely to be merged and presented as a single ReadsDatasource.on the command line this would look like
Each tool implementing a traversal may specify 1 or more Outputs. These would be treated as standard arguments and it would be up to the tool or traversal to decide what to do with them.
ex
Is this what we want?
The text was updated successfully, but these errors were encountered: