-
Notifications
You must be signed in to change notification settings - Fork 6
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
1.1.0 Updates #42
base: master
Are you sure you want to change the base?
1.1.0 Updates #42
Conversation
Updating dev versions to 1.1.0dev
…all na values are correctly set to 0
1.1.0 Updates
…run on just the genome, jsut the transcriptome, or both
Add in oarfish as additional quantification method
|
@atrull314 : one thing I did just now catch is that we should disable |
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.
Solid release, but I found some minor technical issues. I've also added some ideas to consider, feel free to argue with these.
ext.args = { | ||
[ | ||
"--threads 30", | ||
params.barcode_format == "10X_3v3" ? "--kit-version 3v3" : params.barcode_format == "10X_5v2" ? "--kit-version 5v2" : "" |
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.
Is this information not required anymore?
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.
Correct, we had modified the blaze module to base threads off task.cpus
as is the case with other modules, which resulted in this piece of the documentation being invalidated. This specific change was to resolve an error in documentation that we had put in before the change to the blaze module.
task.ext.when == null || task.ext.when | ||
|
||
script: | ||
def args = task.ext.args ?: '' |
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.
Align equal signs
"${task.process}": | ||
python: \$(python --version | sed 's/Python //g') | ||
END_VERSIONS | ||
""" |
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.
Consider adding a stub, might be handy later
"${task.process}": | ||
oarfish: \$(oarfish --version | sed 's#oarfish ##g') | ||
END_VERSIONS | ||
""" |
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.
Comments as in MTX_MERGE
def args = task.ext.args ?: '' | ||
|
||
""" | ||
awk '/^>/{chrom=(split(substr(\$0,2), a, " ")); filename=( a[1] ".split.fa"); print > filename; next}{print >> filename}' $fasta |
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 this have to be a new module? Looks like the same result could be achieved with the gawk
nf-core module
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.
So the issue is the gawk
nf-core module outputs as a single file, this awk statement is splitting a fasta into all of the chromosomes that compose it, so we need all the individual chromosome fastas as outputs. I'm not sure the module currently supports this behavior
|
||
ch_gene_qc_stats = Channel.empty() | ||
ch_transcript_qc_stats = Channel.empty() | ||
if (quantifier.equals("oarfish")) { |
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.
Is the "both" option handled correctly here?
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.
Yep! Its handled in a separate file to make sure they are able to run in parallel.
ch_transcript_qc_stats = QUANTIFY_SCRNA_ISOQUANT.out.transcript_qc_stats | ||
} | ||
|
||
emit: |
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.
Harshil alignment
// | ||
// MODULE: Samtools Merge | ||
// | ||
SAMTOOLS_MERGE ( |
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.
Versions from this one?
// | ||
// MODULE: Samtools Index | ||
// | ||
SAMTOOLS_INDEX_MERGED( ch_dedup_single_bam ) |
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.
And this?
validate_params, | ||
"nextflow_schema.json" | ||
null |
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.
Is this null correct?
PR Checklist
This PR contains the following updates for v1.1.0 of the pipeline: