<div dir="ltr">Hi Carson,<div><br></div><div>I tried running maker2jbrowse in the browser directory with existing tracks, but the script expects to be run in the JBrowse directory and printed this error:</div><div>
<p class="">FATAL: Can not find ./bin/<a href="http://flatfile-to-json.pl">flatfile-to-json.pl</a></p>
<p class="">Make sure you are running inside the JBrowse directory</p><p class=""><br></p><p class="">Hi Robert,</p><p class="">I tried adding an Alignment2 track in the format of the example to the browser with Maker tracks (those get viewed fine), but I am getting the error "404 (Not found) when attempting to fetch ...[bam.bai file]" even though the specified file is in that location.</p>
<p class=""><br></p><p class="">Thank you both for your continued aid. </p><p class="">Since this is departing Maker for strictly JBrowse territory, would it be more appropriate to move to the JBrowse list?</p><p class="">
Best,</p><p class="">Val</p></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 11, 2013 at 1:27 PM, Robert Buels <span dir="ltr"><<a href="mailto:rbuels@gmail.com" target="_blank">rbuels@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">These days, it's better to use direct BAM access. <a href="http://bam-to-json.pl" target="_blank">bam-to-json.pl</a> still works, but the direct BAM access is much better.<br>
<br>
See <a href="http://gmod.org/wiki/JBrowse_Configuration_Guide#Alignment_Tracks_.28BAM.29" target="_blank">http://gmod.org/wiki/JBrowse_<u></u>Configuration_Guide#Alignment_<u></u>Tracks_.28BAM.29</a><div class="im"><br>
<br>
<br>
Robert Buels<br>
Lead Developer<br>
JBrowse - <a href="http://jbrowse.org" target="_blank">http://jbrowse.org</a><br>
<br></div><div class="im">
On 07/11/2013 02:23 PM, Carson Holt wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
If you have a previous Jbrowse with already populated tracks you can<br>
just, run maker2jbrowse in that directory instead of the new Jbrowse<br>
directory, then the maker features will be added there. Make a backup<br>
copy of the directory before you do this of course incase you need to<br>
roll back the changes.<br>
<br>
Alternatively you will have to add those to the new Jbrowse directory<br>
using bin/<a href="http://bam-to-json.pl" target="_blank">bam-to-json.pl</a> and following the instructions here --><br>
<a href="http://gmod.org/wiki/JBrowse_Tutorial_2012#BAM_data" target="_blank">http://gmod.org/wiki/JBrowse_<u></u>Tutorial_2012#BAM_data</a><br>
<br>
I guess Robert can chime in here as well, since we have now moved<br>
outside of MAKER scripts and fully into JBrowse.<br>
<br>
--Carson<br>
<br>
<br></div><div class="im">
From: V Wong <<a href="mailto:vwong@umn.edu" target="_blank">vwong@umn.edu</a> <mailto:<a href="mailto:vwong@umn.edu" target="_blank">vwong@umn.edu</a>>><br>
Reply-To: <<a href="mailto:vwong@umn.edu" target="_blank">vwong@umn.edu</a> <mailto:<a href="mailto:vwong@umn.edu" target="_blank">vwong@umn.edu</a>>><br></div><div class="im">
Date: Thursday, July 11, 2013 1:58 PM<br></div>
To: Carson Holt <<a href="mailto:carsonhh@gmail.com" target="_blank">carsonhh@gmail.com</a> <mailto:<a href="mailto:carsonhh@gmail.com" target="_blank">carsonhh@gmail.com</a>>><br>
Cc: Ignazio Carbone <<a href="mailto:icarbon@ncsu.edu" target="_blank">icarbon@ncsu.edu</a> <mailto:<a href="mailto:icarbon@ncsu.edu" target="_blank">icarbon@ncsu.edu</a>>>,<br>
<<a href="mailto:maker-devel@yandell-lab.org" target="_blank">maker-devel@yandell-lab.org</a> <mailto:<a href="mailto:maker-devel@yandell-lab.org" target="_blank">maker-devel@yandell-<u></u>lab.org</a>>>,<br>
Robert Buels <<a href="mailto:rbuels@gmail.com" target="_blank">rbuels@gmail.com</a> <mailto:<a href="mailto:rbuels@gmail.com" target="_blank">rbuels@gmail.com</a>>><div class="im"><br>
Subject: Re: [maker-devel] maker2jbrowse implementation<br>
<br>
Hi Carson,<br>
<br>
Ah, great! After moving the contents of ../JBrowse/data/ to our browser<br>
directory, the Maker tracks are now on view.<br>
<br>
However, I'm having some trouble getting our older tracks (bam<br>
alignments and coverage tracks) into the same browser. Neither 1.<br>
copying and pasting the tracks from the previous trackList.json to the<br></div>
new one nor 2. running <a href="http://add-track-json.pl" target="_blank">add-track-json.pl</a> <<a href="http://add-track-json.pl" target="_blank">http://add-track-json.pl</a>> is<div class="im"><br>
doing the job. Is it possible to merge these tracks into one browser?<br>
<br>
Best,<br>
Val<br>
<br>
<br>
On Thu, Jul 11, 2013 at 6:44 AM, Carson Holt <<a href="mailto:carsonhh@gmail.com" target="_blank">carsonhh@gmail.com</a><br></div><div class="im">
<mailto:<a href="mailto:carsonhh@gmail.com" target="_blank">carsonhh@gmail.com</a>>> wrote:<br>
<br>
You next put the entire JBrowse directory into the /var/www/html/<br>
directory or wherever you have apache set up to load from (if it's<br>
not already there). Then it will be accessible as a webpage<br>
(browser is inside the JBrowse directory).<br>
<br>
Example /var/www/html/Jbrowse/<br>
Webpage --> <a href="http://localhost/Jbrowse/" target="_blank">http://localhost/Jbrowse/</a><br>
<br>
--Carson<br>
<br></div><div class="im">
From: V Wong <<a href="mailto:vwong@umn.edu" target="_blank">vwong@umn.edu</a> <mailto:<a href="mailto:vwong@umn.edu" target="_blank">vwong@umn.edu</a>>><br>
Reply-To: <<a href="mailto:vwong@umn.edu" target="_blank">vwong@umn.edu</a> <mailto:<a href="mailto:vwong@umn.edu" target="_blank">vwong@umn.edu</a>>><br></div><div class="im">
Date: Thursday, July 11, 2013 1:10 AM<br></div>
To: Carson Holt <<a href="mailto:carsonhh@gmail.com" target="_blank">carsonhh@gmail.com</a> <mailto:<a href="mailto:carsonhh@gmail.com" target="_blank">carsonhh@gmail.com</a>>>,<br>
Ignazio Carbone <<a href="mailto:icarbon@ncsu.edu" target="_blank">icarbon@ncsu.edu</a> <mailto:<a href="mailto:icarbon@ncsu.edu" target="_blank">icarbon@ncsu.edu</a>>><br>
Cc: <<a href="mailto:maker-devel@yandell-lab.org" target="_blank">maker-devel@yandell-lab.org</a><br>
<mailto:<a href="mailto:maker-devel@yandell-lab.org" target="_blank">maker-devel@yandell-<u></u>lab.org</a>>>, Robert Buels<br>
<<a href="mailto:rbuels@gmail.com" target="_blank">rbuels@gmail.com</a> <mailto:<a href="mailto:rbuels@gmail.com" target="_blank">rbuels@gmail.com</a>>><div class="im"><br>
<br>
Subject: Re: [maker-devel] maker2jbrowse implementation<br>
<br>
Hi Carson,<br>
<br>
Thanks! I followed your instructions, and maker2jbrowse, and it<br>
successfully populated the ../JBrowse/data/tracks directory with<br>
RepeatMasker, Augustus, and GeneMark predictions.<br>
<br>
I'm not entirely sure how to get these numerous tracks into the<br>
browser, but that may be something to work out with JBrowse rather<br>
than Maker.<br>
<br>
Best,<br>
Val<br>
<br>
<br>
On Tue, Jul 9, 2013 at 10:57 AM, Carson Holt <<a href="mailto:carsonhh@gmail.com" target="_blank">carsonhh@gmail.com</a><br></div><div class="im">
<mailto:<a href="mailto:carsonhh@gmail.com" target="_blank">carsonhh@gmail.com</a>>> wrote:<br>
<br>
Hi Val,<br>
<br>
I've attached new files for you to test. These will be bundled<br>
in the<br>
next maker release pending successful tests (~ 1 week).<br>
<br>
Instructions:<br>
1. Place maker2jbrowse in your .../maker/bin/ directory and<br>
.../maker/src/bin/ directory (this is just to ensure you don't<br>
accidentally overwrite it if you reinstall at any time).<br>
2. Place maker.css in the .../maker/GMOD/Jbrowse/ directory.<br>
3. You must be in the jbrowse installation directory when running<br>
maker2jbrowse. Run the script with the -d flag and the<br>
datastore index<br>
file.<br>
<br>
This new version will assign colors by copying maker.css to the<br>
jbrowse<br>
installation as apposed to replacing the genome.css file, and it<br>
will also<br>
edit the genome.css file to add the import call for maker.css. In<br>
addition I have updated command line flags in the wrapper to do<br>
what is<br>
currently expected by <a href="http://flatfile-to-json.pl" target="_blank">flatfile-to-json.pl</a><br></div>
<<a href="http://flatfile-to-json.pl" target="_blank">http://flatfile-to-json.pl</a>>.<div class="im"><br>
<br>
Could you test it out and let me know how it goes.<br>
<br>
Thanks,<br>
Carson<br>
<br>
<br>
<br>
On 7/3/13 3:26 PM, "Carson Holt" <<a href="mailto:carsonhh@gmail.com" target="_blank">carsonhh@gmail.com</a><br></div><div><div class="h5">
<mailto:<a href="mailto:carsonhh@gmail.com" target="_blank">carsonhh@gmail.com</a>>> wrote:<br>
<br>
>Like I said that css file is ~1 year old. Once upon a time the Jbrowse<br>
>documentation had you modify the genome.css file to create your own<br>
>tracks. Version 1.2.1 looks like it is the last version where the<br>
>genome.css file that maker provided works. I can still get simple test<br>
>GFF3 tracks to load with current Jbrowse and the maker2jbrowse script.<br>
>But I need to fix some things, because they are all indistinguishable from<br>
>each other (so it is not the desired behavior).<br>
><br>
>Indepent of that issue though, to regenerate the original error, I do the<br>
>following --><br>
> maker2jbrowse<br>
>~/Developer/maker/trunk/data/<u></u>dpp_contig.maker.output/dpp_<u></u>contig_master_dat<br>
>a<br>
>store_index.log<br>
> ERROR: No track information for source<br>
>'dpp_contig_datastore/05/1F/<u></u>contig-dpp-500-500/'<br>
><br>
>Basically you are missing the '-d' flag (whiteout that the script is<br>
>expecting a list of GFF3 files).<br>
><br>
>So this works --><br>
> maker2jbrowse -d<br>
>~/Developer/maker/trunk/data/<u></u>dpp_contig.maker.output/dpp_<u></u>contig_master_dat<br>
>a<br>
>store_index.log<br>
><br>
><br>
>Of course all tracks look the same though per the original issue I<br>
>mentioned.<br>
><br>
>Thanks,<br>
>Carson<br>
><br>
><br>
><br>
>Some versions of Jbrowse still load fine with the script as is Jbrowse<br>
>1.3,<br>
><br></div></div><div class="im">
>On 7/3/13 12:39 PM, "Robert Buels" <<a href="mailto:rbuels@gmail.com" target="_blank">rbuels@gmail.com</a> <mailto:<a href="mailto:rbuels@gmail.com" target="_blank">rbuels@gmail.com</a>>> wrote:<br>
><br>
>>Regarding the genome.css file that's in GMOD/JBrowse, I'm not sure what<br>
>>you're doing with that, but it appears to be a fork of a very old<br>
>>JBrowse main css file. If that's overriding or being copied over the<br>
>>JBrowse released CSS, it will break pretty much everything. It would be<br>
>>like me randomly replacing one of MAKER's Perl modules with my own old<br>
>>forked copy.<br>
>><br>
>>If what you're trying to accomplish is to add some custom styles, the<br>
>>best way to do that would be to do one of:<br>
>><br></div>
>>* add just your custom feature styles on <a href="http://theflatfile-to-json.pl" target="_blank">theflatfile-to-json.pl</a> <<a href="http://flatfile-to-json.pl" target="_blank">http://flatfile-to-json.pl</a>> command<div class="im">
<br>
>>line<br>
>>* add a "css": { "url": "<a href="http://url/of/your/custom.css" target="_blank">http://url/of/your/custom.css</a><u></u>" } to the<br>
>> JBrowse trackList.json someplace in the workflow (easy to add<br>
>> things to JSON files with JSON.pm) that loads your custom CSS<br>
>> (containing only your custom feature styles!)<br>
>>* add all of the custom styles to the trackList.json as a<br>
>> string: "css": "string { of: lots and lots of; css: properties; }"<br>
>><br>
>><br>
>>Robert Buels<br>
>>Lead Developer<br></div>
>>JBrowse -<a href="http://jbrowse.org" target="_blank">http://jbrowse.org</a><div class="im"><br>
>><br>
>>On 07/03/2013 12:02 PM, Carson Holt wrote:<br>
>>> I think you may not have it set up right. If you run the example data,<br>
>>> you can then use that. For me it populates the JSON data tracks<br>
>>> information, but nothing displays. I think the problem is with the<br>
>>>maker<br>
>>> genome.css. It is very out of date. I'll do some work on it and then<br>
>>>get<br>
>>> your feedback.<br>
>>><br>
>>> Thanks,<br>
>>> Carson<br>
>>><br>
>>><br>
>>><br></div><div class="im">
>>> On 7/3/13 11:45 AM, "Robert Buels" <<a href="mailto:rbuels@gmail.com" target="_blank">rbuels@gmail.com</a> <mailto:<a href="mailto:rbuels@gmail.com" target="_blank">rbuels@gmail.com</a>>> wrote:<br>
>>><br>
>>>> After looking at the maker2jbrowse source (thanks for giving me<br>
>>>>access),<br>
>>>> there seems to be some kind of problem with the way maker2jbrowse is<br>
>>>> parsing the MAKER datastore index, leading to the script complaining<br>
>>>>of<br>
>>>> 'no track information'.<br>
>>>><br>
>>>> This would probably be easier for a MAKER developer to look into.<br>
>>>><br>
>>>><br>
>>>> Robert Buels<br>
>>>> Lead Developer<br></div>
>>>> JBrowse -<a href="http://jbrowse.org" target="_blank">http://jbrowse.org</a><div class="im"><br>
>>>><br>
>>>> On 07/02/2013 12:27 PM, Carson Holt wrote:<br>
>>>>> The Jbrowse codebase tends to undergo very rapid alteration (much of<br>
>>>>> which is not backwards compatible with other Jbrowse versions), as a<br>
>>>>> result the script maker2jbrowse has had to evolve with Jbrowse (and<br>
>>>>>will<br>
>>>>> not work with all versions). I'm not sure if the script is currently<br>
>>>>> behind or ahead of Jbrowse version 1.9.3 (I'm guessing behind). I can<br>
>>>>> have it working with whatever the most current repository is if you<br>
>>>>>were<br>
>>>>> to give me a week, or you can try loading the GFF3's using Jbrowse's<br>
>>>>>own<br>
>>>>> loader (tutorial here --><br>
>>>>><a href="http://gmod.org/wiki/JBrowse_Tutorial_2012" target="_blank">http://gmod.org/wiki/<u></u>JBrowse_Tutorial_2012</a>).<br>
>>>>> Of course this tutorial is also likely to be somewhat out of date<br>
>>>>> :-( But the 2013 version is supposed to be up and running as part of<br>
>>>>> this years GMOD summer school in ~3 weeks. They use MAKER generated<br>
>>>>> data for the tutorial, so it should be relevant to what you are<br>
>>>>>doing.<br>
>>>>><br>
>>>>> Thanks,<br>
>>>>> Carson<br>
>>>>><br>
>>>>><br>
>>>>><br></div>
>>>>> From: V Wong <<a href="mailto:vwong@umn.edu" target="_blank">vwong@umn.edu</a> <mailto:<a href="mailto:vwong@umn.edu" target="_blank">vwong@umn.edu</a>> <mailto:<a href="mailto:vwong@umn.edu" target="_blank">vwong@umn.edu</a><br>
<mailto:<a href="mailto:vwong@umn.edu" target="_blank">vwong@umn.edu</a>>>><br>
>>>>> Reply-To: <<a href="mailto:vwong@umn.edu" target="_blank">vwong@umn.edu</a> <mailto:<a href="mailto:vwong@umn.edu" target="_blank">vwong@umn.edu</a>> <mailto:<a href="mailto:vwong@umn.edu" target="_blank">vwong@umn.edu</a><div class="im">
<br>
<mailto:<a href="mailto:vwong@umn.edu" target="_blank">vwong@umn.edu</a>>>><br>
>>>>> Date: Tuesday, July 2, 2013 11:38 AM<br>
>>>>> To: <<a href="mailto:maker-devel@yandell-lab.org" target="_blank">maker-devel@yandell-lab.org</a> <mailto:<a href="mailto:maker-devel@yandell-lab.org" target="_blank">maker-devel@yandell-<u></u>lab.org</a>><br>
</div>
>>>>><mailto:<a href="mailto:maker-devel@yandell-lab.org" target="_blank">maker-devel@<u></u>yandell-lab.org</a> <mailto:<a href="mailto:maker-devel@yandell-lab.org" target="_blank">maker-devel@yandell-<u></u>lab.org</a>>>><div class="im">
<br>
>>>>> Subject: [maker-devel] maker2jbrowse implementation<br>
>>>>><br>
>>>>> Hi Maker team,<br>
>>>>><br>
>>>>> I'm trying to get Maker output into JBrowse (version 1.9.3) on our<br>
>>>>> server, using the -d option for the index.log file. However, I am<br>
>>>>> getting this error for each contig:<br>
>>>>><br>
>>>>> ERROR: No track information for source<br>
>>>>> 'AK_assembly_datastore/22/D4/<u></u>AK_contig_1/'<br>
>>>>><br>
>>>>> Looking at the perl script, the file locations are getting read, but<br>
>>>>> then the tracks aren't getting found in the hash of commands.<br>
>>>>><br>
>>>>> Any advice for getting past this will be most appreciated. Thank<br>
>>>>>you!<br>
>>>>><br>
>>>>> Best,<br>
>>>>> Val<br>
>>>>> ______________________________<u></u>_________________ maker-devel mailing<br>
>>>>>list<br>
>>>>><a href="mailto:maker-devel@box290.bluehost.com" target="_blank">maker-devel@box290.<u></u>bluehost.com</a><br>
<mailto:<a href="mailto:maker-devel@box290.bluehost.com" target="_blank">maker-devel@box290.<u></u>bluehost.com</a>><br></div>
>>>>><mailto:<a href="mailto:maker-devel@box290.bluehost.com" target="_blank">maker-devel@<u></u>box290.bluehost.com</a><div class="im"><br>
<mailto:<a href="mailto:maker-devel@box290.bluehost.com" target="_blank">maker-devel@box290.<u></u>bluehost.com</a>>><br>
>>>>><br>
>>>>><a href="http://box290.bluehost.com/mailman/listinfo/maker-devel_yandell-lab.or" target="_blank">http://box290.bluehost.<u></u>com/mailman/listinfo/maker-<u></u>devel_yandell-lab.or</a><br>
>>>>>g<br>
>>>>><br>
>>>>><br>
>>>>> ______________________________<u></u>_________________<br>
>>>>> maker-devel mailing list<br>
>>>>><a href="mailto:maker-devel@box290.bluehost.com" target="_blank">maker-devel@box290.<u></u>bluehost.com</a><br>
<mailto:<a href="mailto:maker-devel@box290.bluehost.com" target="_blank">maker-devel@box290.<u></u>bluehost.com</a>><br>
>>>>><br>
>>>>><a href="http://box290.bluehost.com/mailman/listinfo/maker-devel_yandell-lab.or" target="_blank">http://box290.bluehost.<u></u>com/mailman/listinfo/maker-<u></u>devel_yandell-lab.or</a><br>
>>>>>g<br>
>>>>><br>
>>><br>
>>><br>
>>><br>
><br>
><br>
<br>
<br>
<br>
</div></blockquote>
</blockquote></div><br></div>