-
Notifications
You must be signed in to change notification settings - Fork 0
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
Mosaic pipeline #42
base: master
Are you sure you want to change the base?
Mosaic pipeline #42
Conversation
cre.gemini.variant_impacts.vcf2db.sh
Outdated
@@ -31,10 +31,14 @@ fi | |||
|
|||
#if pipeline is cre, filter out variants only called by one of freebayes, samtools, platypus | |||
callers=`gemini db_info $file | grep -w "variants" | grep -w "callers"` | |||
if [ ! -z "$callers" ] | |||
if [ ! -z "$callers" ] && [ "$type" != "wes.mosaic" ] |
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 'callers' exist in the mosaic gemini db? If so you can remove && [ "$type" != "wes.mosaic" ]
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.
Since mosaic pipeline uses only one caller, I didn't set "callers" variable. Therefore there is no callers in gemini db_info
cre.gemini.variant_impacts.vcf2db.sh
Outdated
then | ||
callers="v.callers" | ||
caller_filter="and v.callers not in ('freebayes', 'samtools', 'platypus')" | ||
elif [ ! -z "$callers" ] && [ "$type" == "wes.mosaic" ] |
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.
If the above is true, you can remove this conditional block
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.
done
cre.gemini2txt.vcf2db.sh
Outdated
@@ -33,10 +33,14 @@ gemini query -q "select name from samples order by name" $file > samples.txt | |||
|
|||
#if pipeline is cre, filter out variants only called by one of freebayes, samtools, platypus | |||
callers=`gemini db_info $file | grep -w "variants" | grep -w "callers"` | |||
if [ ! -z "$callers" ] | |||
if [ ! -z "$callers" ] && [ "$type" != "wes.mosaic" ] |
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.
same comments as above
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.
done
cre.sh
Outdated
@@ -97,6 +97,9 @@ function f_cleanup | |||
ln -s ${family}-precalled.db ${family}-ensemble.db | |||
ln -s ${family}-precalled-annotated-decomposed.vcf.gz ${family}-ensemble-annotated-decomposed.vcf.gz | |||
ln -s ${family}-precalled-annotated-decomposed.vcf.gz.tbi ${family}-ensemble-annotated-decomposed.vcf.gz.tbi | |||
#elif [ "$type" == "wes.mosaic"] |
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.
Can we remove these lines?
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.
done
added mosaic option to generate wes.mosaic report